sanzeeb Posted April 25, 2007 Share Posted April 25, 2007 Hi how to embade javascript in .tpl file ? for making it clear .tpl are using in Smarty template engine,but when i tried to embade javascript or .js file (like we generally do in .php or ordinary .html file) it shows error and dont give me the desired result. how to solve the problem? thanking you Tanvir. Link to comment https://forums.phpfreaks.com/topic/48621-solved-how-to-embade-javascript-in-tpl-file/ Share on other sites More sharing options...
fenway Posted April 25, 2007 Share Posted April 25, 2007 Since we don't know anything about the "Smarty" engine, I suggest you ask whoever does... probably a parsing issue Link to comment https://forums.phpfreaks.com/topic/48621-solved-how-to-embade-javascript-in-tpl-file/#findComment-238574 Share on other sites More sharing options...
mainewoods Posted April 29, 2007 Share Posted April 29, 2007 {literal} **javascript** {/literal} http://wiki.cmsmadesimple.org/index.php/FAQ/Javascript_and_Smarty Link to comment https://forums.phpfreaks.com/topic/48621-solved-how-to-embade-javascript-in-tpl-file/#findComment-240750 Share on other sites More sharing options...
sanzeeb Posted June 1, 2007 Author Share Posted June 1, 2007 late thanks mainewoods !! Link to comment https://forums.phpfreaks.com/topic/48621-solved-how-to-embade-javascript-in-tpl-file/#findComment-266211 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.