I would, but I can't execute a string replace until the output is compiled. PHPINCLUDE_START parses too early for that.
I tried putting it into phpinclude_start and setting a flag variable to true, but THAT didn't work. For some reason PHPINCLUDE_END won't evualtes all variable checks to false unless they're constants..
I haven't tried defining a constant in the PHPINCLUDE_START template yet.
|