Jump to content

links in category descriptions


Recommended Posts

  • 9 months later...

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

  • 5 months later...

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

×
×
  • Create New...