bizzo 0 Posted March 16, 2004 Hi All, I've installed the Review in products display V1.0 and on the product_info.php page its not displaying line breaks and doesn't interpret html... Has anyone else had this problem, or does anyone know how to fix it? Appreciate your assitance Biz Share this post Link to post Share on other sites
bizzo 0 Posted March 17, 2004 Someone must have had this issue???? Share this post Link to post Share on other sites
jjanguda 0 Posted July 8, 2004 I just installed Review in products display.. it works fine.. The problem is if the lengh of the written review text goes over 60 aphabets, it extends the default box width which doesn't look good. The orginal code source from catalog/product_reviews_info.php <?php echo tep_break_string(nl2br(tep_output_string_protected($review['reviews_text'])), 60, '-<br>') But, the code writer used htmlspecialchars($reviews_values['reviews_text'],) <?php echo sprintf(tep_image(DIR_WS_IMAGES . 'stars_' . $reviews_values['reviews_rating'] . '.gif', sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $reviews_values['reviews_rating']))) . ' – <i>' . $reviews_values['customers_name'] . ', ' . $date_added . '</i><br>' . htmlspecialchars($reviews_values['reviews_text']) ?> Macromedia Dreamweaver MX2004 says that the way of using html specialchars is used like this. htmlspecialchars(string string, [int quote_style], [string charset]) Can anyone help me on this matter? I'd like to limit the number of text to 60 aphabets. I'll appreciate for any help. Share this post Link to post Share on other sites
808smokey 0 Posted August 9, 2004 please help here.. i'm messing with this myself. If you lower it from 60 say 10 for poops and giggles it lowers the letter count per line. But it won't go higher than 60. So i'm thinking it's a limit you must raise in the myphpadmin section (dbase) I'll let ya know later.... Share this post Link to post Share on other sites