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?
- The topic ‘Template Sync include not working’ is closed to new replies.