elisa_34 Posted May 2, 2011 Share Posted May 2, 2011 Hi to allI'm starting to work on smarty and prestashop, i think i nearly understand the module basic architecture.But, when try to past a function in the lefColumn, with something like this public function hookleftColumn($params) { global $smarty; $smarty->assign (blockfirstmodule::toto()); $smarty->assign('test', 'my test'); return $this->display(__FILE__, 'blockfirstmodule.tpl'); } Well, "my test" is in the right place, but the output of "toto" take place in two places ! on outside the body and another one in the right column !!!i just don't get it, please, someone help me merci 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