2009-10-21, 12:34 PM
I'm making a plugin and I need to insert a javascript into the headerinclude template.
What would be the correct find_replace function to do that?
I tried the following, but it isn't working:
What would be the correct find_replace function to do that?
I tried the following, but it isn't working:
find_replace_templatesets("headerinclude", "#".preg_quote("{\$newpmmsg}")."#i", "{\$newpmmsg}\r\n{\$javascript here}");