| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Smarty error on javascript | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
yo yo yo ---------------------- xcart gold 4.0.14 ---------------------- |
|||||||
#2
|
|||||||
|
|||||||
![]() Put literal tags around any JS:
{literal} insert Javascript here {/literal}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
yo yo yo ---------------------- xcart gold 4.0.14 ---------------------- |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|