HOWTO: include php+javascript inside cs-cart

any tutorial upon this?



i found something like {php}{/php}

and something like this to put on controllers/…php

anyone got clue for this?

Look at



[url]Search Results for "docsv2" | Smarty



and



[url]Search Results for "docsv2" | Smarty



and



[url]http://docs.cs-cart.com/[/url]

i have an error on putting the php include + javascript

error is smarty error, unidentified token .getElementById

because the javascript it self have a document.getElementById

and i check in common_templates/script.tpl there is a getElementById in the script.

maybe its because the same getElementById, help me please ~_~

Make sure every element has a unique ID. No duplicates.