![]() |
Smarty error on javascript
yo! yo! yo!
I am editing my navigation button located at my head.tpl files. Im trying to put a on mouse over effects on the button i have created but when i tried to run it, theres an error : Fatal error: Smarty error: [in head.tpl line 4]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 580) in C:\estore\Smarty-2.6.9\Smarty.class.php on line 1088 Anyway, im using dreamweaver to edit, and as i evaluate it, the javascript generated by the dreamweaver was the one causing it. How can i resolve this? Thanks |
Put literal tags around any JS:
{literal} insert Javascript here {/literal} |
Quote:
Oh man! you're a saviour. Thanks the error is gone but the images dont show up. I checked the relative path and found out that the path is correct. |
All times are GMT -8. The time now is 10:02 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.