dolec Posted September 24, 2012 Share Posted September 24, 2012 I created module class and module with tab and config form - saving some fields using Configuration::updateValue($this->name.'_message', Tools::getValue('our_message'), true); Now i do the frontend and i want to use the variables in different PHP file or later in Smarty tpl file I created file : <?php global $smarty; include('../../config/config.inc.php'); include('../../header.php'); $mymodule = new Quote(); $message = $mymodule->l('Welcome to my shop!'); $smarty->assign('messageSmarty', $message); $smarty->display(dirname(__FILE__).'/quote_page.tpl'); include('../../footer.php'); ?> How in this frontend get the values saved in the form in config backend ? Can i use $mymodule -> GetValue? if i created object ? 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