kluge Posted June 29, 2015 Share Posted June 29, 2015 I was using Realex Payment module for few weeks with no errors. Suddenly info texts and form field dissapeared. When I'm entering Realex Module configuration i can't see field info etc. (see attached image) Any idea what happened? Link to comment Share on other sites More sharing options...
kluge Posted July 15, 2015 Author Share Posted July 15, 2015 (edited) Anyone can help me to sort this out? Maybe someone had similar problem/issue? I think it is caused by the htmentities function... $this->html .= '<input type="text" name="merchantId" value="'.htmlentities(Tools::getValue('merchantId', $this->merchant_id), ENT_COMPAT, 'UTF-8').'" style="width: 300px;" />'; or just with $this-> .... $this->html .= '<tr><td style="padding-top:5px;" colspan="2">'.$this->l('Please specify your Realex Payments account details').'.<br /><br /></td></tr>'; Edited July 15, 2015 by kluge (see edit history) Link to comment Share on other sites More sharing options...
kluge Posted July 15, 2015 Author Share Posted July 15, 2015 I figure out that there is something wrong with translation function or translation In general because this line: $this->html .= "<img src='".$this->_path.'img/realexredirect.jpg'."' style='float:left; margin-right:15px;'><strong><br/>"; works perfectly and this one: $this->html .= $this->l('Thanks for installing the Realex Payments Prestashop module.'); does not. Function l(‘ ‘); is responsible for translation… Maybe that’s the issue? 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