hello, i would just like to add a correction for utf-8 chars like greek.
so, i installed in a zen cart 1.5.1, the last slimbox, and i found out that greek chars where not showing properly. if anyone else has the same problem, just edit the tpl_modules_main_product_image.php found in the folder includes\templates\your_template\templates/
and edit the following lines to show utf-8 characters:
from
Code:
if( FUAL_SLIMBOX == 'true' || ZEN_LIGHTBOX_STATUS == 'true' ) { // Set the title
if ( $current_page_base == 'product_reviews' ) {
$fual_slimbox_title = htmlentities($review->fields['products_name'],ENT_QUOTES);
} else {
$fual_slimbox_title = htmlentities($products_name,ENT_QUOTES);
}
to
Code:
if( FUAL_SLIMBOX == 'true' || ZEN_LIGHTBOX_STATUS == 'true' ) { // Set the title
if ( $current_page_base == 'product_reviews' ) {
$fual_slimbox_title = htmlentities($review->fields['products_name'],ENT_QUOTES, 'UTF-8');
} else {
$fual_slimbox_title = htmlentities($products_name,ENT_QUOTES, 'UTF-8');
}
Bookmarks