Poppy381 Posted January 24, 2015 Share Posted January 24, 2015 Hi everybody. Is there a way to send some smarty variables to an override helper ? public function test() { global $smarty; $smarty->assign('color', array(stripslashes(Configuration::get('COLOR1')),stripslashes(Configuration::get('COLOR2')),stripslashes(Configuration::get('COLOR3')))); return $this->display(__FILE__, '/views/templates/admin/_configure/helpers/form/form.tpl'); } In my override (form.tpl) the $smarty variable seems to not be accesible despite my code. Any idea ? I don't know if it's possible to do that but we never know . 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