X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   adding javascript to template? (https://forum.x-cart.com/showthread.php?t=19479)

xenlab 01-25-2006 12:36 AM

adding javascript to template?
 
I need to add javascript to menu_manufacturers.tpl, but each time I add it there's a smarty error on the store front.

The javascript itself is fine.

How does one add javascript to a template?

Thank you!
Xenlab

pauldodman 01-25-2006 12:38 AM

You usually need to put your code between
{literal} code {/literal} tags. You should find plenty of examples like this in the forum if you need some more help.

xenlab 01-25-2006 12:46 AM

thanks dude
:wink:


All times are GMT -8. The time now is 05:30 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.