Serge_Matias Posted April 4, 2012 Share Posted April 4, 2012 Please i need help, i have write smarty code at module's php file as : $smarty = new Smarty; $smarty->assign('title','Hello World'); and write HTML code at TPL file as : <li>{$title}</li> and it does not working, can any one help me about this problem. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 5, 2012 Share Posted April 5, 2012 Please i need help, i have write smarty code at module's php file as : $smarty = new Smarty; $smarty->assign('title','Hello World'); and write HTML code at TPL file as : <li>{$title}</li> and it does not working, can any one help me about this problem. Hello, you don't need $smarty = new Smarty; instead use global $smarty; 1 Link to comment Share on other sites More sharing options...
Serge_Matias Posted April 10, 2012 Author Share Posted April 10, 2012 thank you CartExpert.net for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now