View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 412 Location: A'dam/Diemen, The Netherlands
|
Posted: Sat Jan 26, 2008 11:47 pm Post subject: [solution] Smarty template javascript syntax error: unrecognized tag |
|
|
Seeing errors like these ?
Code: | Fatal error: Smarty error: [in header.tpl line 15]: syntax error: unrecognized tag: winpops=window.open("welkomscadeau.php?id=5") (Smarty_Compiler.class.php, line 446) in /home/xxx/domains/xxx.com/public_html/smarty/Smarty.class.php on line 1095 |
while all you did is put some simple javascript directly in the tpl source file?
here's the solution
add:
{literal}
BEFORE
and
{/literal}
AFTER your javascript code and you'll be fine ! |
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Sat Jan 26, 2008 11:47 pm Post subject: [solution] Smarty template javascript syntax error: unrecognized tag |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Sat Jan 26, 2008 11:47 pm Post subject: [solution] Smarty template javascript syntax error: unrecognized tag |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|