Template Sync include not working (1 post)

  1. lozkane
    Posted 4 years ago #

    Template Sync is very handy but not well documented and appears to have a bug.

    The include function works with the plugin but exclude doesn't. I found the fix below for the exclude function but it appears to only work once - I can't get include or other changes to work after this.

    The exclude solution was:

    "i think it was a bug. However, go to the plugin's directory and replace the line

    $html = preg_replace("/<!--tpl.exclude-->(.*?)<!--\/tpl.exclude-->/", '', $html);


    $html = preg_replace("/<!--tpl.exclude-->(.*?)<!--\/tpl.exclude-->/eis", '', $html);"

    Any clues folks?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.