PDA

View Full Version : How to put some code in footer


twin
07-17-2005, 04:36 PM
Yes, that is the question, I dont know smarty but seems that's the problem. I want to add a code (javascript) in footer.tpl

Error: Fatal error: Smarty error: [in footer.tpl line 7]: syntax error: unrecognized tag: _d.write( ""); (Smarty_Compiler.class.php, line 436)

David
07-17-2005, 04:47 PM
There are several posts about this. Try searching for "literal" here. I believe you need to enclose the js with {literal} tags.

twin
07-17-2005, 04:52 PM
thank You and sorry for duble posting, I searched but didnt found that sollution, before

David
07-17-2005, 04:54 PM
Good, so I hope that means you found the answer now.
If not, keep asking until you understand. :D

twin
07-17-2005, 05:14 PM
yes, I found, thanks one more for so fast answer.