billybo Posted May 18, 2009 Share Posted May 18, 2009 i was wondering if it is possible to put hyperlinks in category descriptions?if so, can anyone give me an idea how i may go about doing this?thanks.. Link to comment Share on other sites More sharing options...
rocky Posted March 7, 2010 Share Posted March 7, 2010 Prestashop will strip all HTML from the category description. I can't find where it does it though. The only way I know to put HTML in the category description is to modify the database using phpMyAdmin and edit the "description" field in the "ps_category_lang" table and put the HTML code in there. For example: <a href="link.html">Link Link to comment Share on other sites More sharing options...
jhnstcks Posted September 3, 2010 Share Posted September 3, 2010 Rocky, isnt it the htmlentities in this row that is tripping out the html? <textarea name="description_'.$language['id_lang'].'" rows="5" cols="40">'.htmlentities($this->getFieldValue($obj, 'description', intval($language['id_lang'])), ENT_COMPAT, 'UTF-8').'</textarea> Link to comment Share on other sites More sharing options...
rocky Posted September 4, 2010 Share Posted September 4, 2010 I think that function just converts special characters into the HTML codes for those characters. I don't think it strips HTML. Link to comment Share on other sites More sharing options...
Recommended Posts