Quote:
Originally Posted by stan111
thanks again for a fast reply, buro9
i added too many hacks and now i have no idea how to uninstall that
so would you please show me how to add that template to array of bad_templates ?
|
Just take the name of the template that is breaking, and find this piece of code in the compression hack above:
PHP Code:
$badTemplates = array(
'editor_jsoptions_font',
'editor_jsoptions_size',
'phpinclude_start',
'phpinclude_end'
);
Simply add the name of the template that is causing problems to that array... which means adding a line like this at the end of the array (but within the brackets):
PHP Code:
,'templateName'
And then upload and re-run the admincp thingy and it will skip compressing that template.
Oh, one more thing... if you have already applied the hack and it is still broken, uncompress the templates, apply this change, and the re-compress the templates