VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: communion on July 10, 2012, 07:32:43 AM

Title: How can I add <br /> tags to Image Title (description)?
Post by: communion on July 10, 2012, 07:32:43 AM
I have modified the category template to allow for prettyPhoto modal popup for images, and the image title is passed from the backend via form field "file_desc". I see that this is referenced in mediamanager.php helper object.

My issue is that I need to do simple formatting in the image title field, but all my <br /> tags are stripped when saving the product. Can someone provide an override suggestion for this? I need to format some image info when it is passed to prettyPhoto.

Thanks in advance