david.rey Posted August 7, 2014 Share Posted August 7, 2014 Please help. I can`t find where is strip_tags. I need to display url and tags in this module. In the database data is not have tags. Prestashop 1.6. Link to comment Share on other sites More sharing options...
vekia Posted August 8, 2014 Share Posted August 8, 2014 blockcontactinfos.php there is a code like if (Tools::isSubmit('submitModule')) { Configuration::updateValue('BLOCKCONTACTINFOS_COMPANY', Tools::getValue('blockcontactinfos_company')); Configuration::updateValue('BLOCKCONTACTINFOS_ADDRESS', Tools::getValue('blockcontactinfos_address')); Configuration::updateValue('BLOCKCONTACTINFOS_PHONE', Tools::getValue('blockcontactinfos_phone')); Configuration::updateValue('BLOCKCONTACTINFOS_EMAIL', Tools::getValue('blockcontactinfos_email')); $this->_clearCache('blockcontactinfos.tpl'); $html .= $this->displayConfirmation($this->l('Configuration updated')); } change it to: if (Tools::isSubmit('submitModule')) { Configuration::updateValue('BLOCKCONTACTINFOS_COMPANY', Tools::getValue('blockcontactinfos_company'), true); Configuration::updateValue('BLOCKCONTACTINFOS_ADDRESS', Tools::getValue('blockcontactinfos_address'), true); Configuration::updateValue('BLOCKCONTACTINFOS_PHONE', Tools::getValue('blockcontactinfos_phone'), true); Configuration::updateValue('BLOCKCONTACTINFOS_EMAIL', Tools::getValue('blockcontactinfos_email'), true); $this->_clearCache('blockcontactinfos.tpl'); $html .= $this->displayConfirmation($this->l('Configuration updated')); } 1 Link to comment Share on other sites More sharing options...
david.rey Posted August 10, 2014 Author Share Posted August 10, 2014 Thank you! Link to comment Share on other sites More sharing options...
vekia Posted August 10, 2014 Share Posted August 10, 2014 so i assume that everything works now as it should? Link to comment Share on other sites More sharing options...
david.rey Posted August 14, 2014 Author Share Posted August 14, 2014 so i assume that everything works now as it should? Yes))))) Link to comment Share on other sites More sharing options...
PascalVG Posted August 15, 2014 Share Posted August 15, 2014 I'll then mark the topic as solved. Thanks Vekia for the clear answer! pascal. 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