First, the following have not tested with v1.3.5 and is based on the experiences of previous version.
Therefore it may not the exact need and codes for the modifications.
If your character set using double bytes, you may need to modify the following files.
For english, the line break occur after the 60th characters and set by the code below in the related templates.
60, '-<br />
For override copy the below original file from
includes/templates/template_default/templates/tpl_product_reviews_info_default.php
And save it to you override directory of your template.
includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_info_default.php
In the new saved file
In Line 53 -
PHP Code:
<div id="reviewsInfoDefaultMainContent" class="content"><?php echo zen_break_string(nl2br(zen_output_string_protected(stripslashes($review_info->fields['reviews_text']))), 60, '-<br />'); ?></div>
Modify the codes above of:
60, '-<br />'
For line break at 60th characters which is double bytes, change it to
120, '<br />'
For override copy the below original file from
includes/templates/template_default/templates/tpl_product_reviews_default.php
And save it to you override directory of your template.
includes/templates/YOUR_TEMPLATE/templates/tpl_product_reviews_default.php
In the new saved file
Line 68 -
PHP Code:
<div id="productReviewsDefaultProductMainContent" class="content"><?php echo zen_break_string(zen_output_string_protected(stripslashes($reviews['reviewsText'])), 60, '-<br />') . ((strlen($reviews['reviewsText']) >= 100) ? '...' : ''); ?></div>
Modify the codes above of:
60, '-<br />'
For line break at 60th characters which is double bytes, change it to
120, '<br />'
There are also other files with the code of 60, '-<br />
But had not tried to modify at the previous test.
includes/templates/template_default/templates/tpl_reviews_default.php
Line 43 -
PHP Code:
<div class="content"><?php echo zen_break_string(nl2br(zen_output_string_protected(stripslashes($reviews->fields['reviews_text']))), 60, '-<br />') . ((strlen($reviews->fields['reviews_text']) >= 100) ? '...' : ''); ?></div>
includes/modules/sideboxes/reviews.php
Line 41 -
PHP Code:
$review_box_text = zen_break_string(nl2br(zen_output_string_protected(stripslashes($review_box_text->fields['reviews_text']))), 60, '-<br />');