Free Newsletter

Subscribe* to our newsletter and keep informed about all the latest special offers.
* Double opt-in. Needs confirmation.













Since 2005

Leave us a review
How to display HTML tags in DOCman's descriptions?
DOCman allows to write document's descriptions with the WYSIWYG editor and uses and saves correctly the HTML tags. However DOCman removes all the HTML tags when it displays the files description in the frontend. Here we the solution for this situation.

Edit the file joomla_root/administrator/components/com_docman/classes/DOCMAN_model.class.php at line 215 you'll find this code:

$this->objFormatData->dmdescription     = mosHTML::cleanText($objDBDoc->dmdescription);

To fix this behavior change the code to:

$this->objFormatData->dmdescription     = $objDBDoc->dmdescription;

This is a modified solution of the one posted by cybergurk at the joomlatools.com forum

 

0 Comments

Add Comment


    Bussines Oportunity

    Earn big with our affiliates programWant to earn a new revenue stream? Join our Affiliate program today! For each purchase you generate, you receive a huge percentage of the sale price.

    ROALCANA's Blog

    Do visit our blogDo visit our blog, where we continue to provide useful tips and handy hints to use, customize and develop Joomla on your websites.
    Go to blog

    Joomla!™ Disclaimer

    Joomla DisclaimerJoomla!™ is a registered trademark of Open Source Matters.
    ROALCANA and dojoomla.com are not affiliated to Joomla!, Open Source Matters or any of its subsidiaries.