Guest darrinbreen Posted December 23, 2009 Share Posted December 23, 2009 Hello I am curious if anyone has any insight to what happens to the product description when it is on the category page as a "teaser" that is loses all its formatting and all html tags are stripped out (paragraph tags for example). Is there a way to defeat this? I would like it to retain paragraph returns and/or an unordered list applied in the RTE (FCKeditor). Is this possible? Has anyone else ran into this? Quote Link to comment Share on other sites More sharing options...
mg3ddesign Posted December 31, 2009 Share Posted December 31, 2009 Hello I am curious if anyone has any insight to what happens to the product description when it is on the category page as a "teaser" that is loses all its formatting and all html tags are stripped out (paragraph tags for example). Is there a way to defeat this? I would like it to retain paragraph returns and/or an unordered list applied in the RTE (FCKeditor). Is this possible? Has anyone else ran into this? Ok then, im not really big with php I just try things until they do what I want. It might be worth getting this checked as it might cause other problems in file includes/content/viewCat.inc.php $view_cat->assign("TXT_DESC",substr(strip_tags($productResults[$i]['description']),0,$config['productPrecis'])."…"); remove 'strip_tags' and it should show as html Hope this is what your looking for, ive been trying to figure this out for hours Quote Link to comment Share on other sites More sharing options...
difonzo Posted January 5, 2010 Share Posted January 5, 2010 I tried this, and it sort of works... I can now have a link in the cat view page, but only the first few characters show up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.