Hmmm ... can't find the line you refer to in my tpl_featured
I have descriptions showing but they are truncated, I want full description on home page. Here is my file:
PHP Code:
<?php
/**
* Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_featured.php 6128 2007-04-08 04:53:32Z birdbrain $
*/
$content = "";
$featured_box_counter = 0;
while (!$random_featured_product->EOF) {
$featured_box_counter++;
$featured_box_price = zen_get_products_display_price($random_featured_product->fields['products_id']);
$content .= '<div class="sideBoxContent centeredContent">';
$content .= '
<table style="width:100%;">
<tr>
<td>
<table style="width:1px; margin:auto;" align="center">
<tr>
<td>
<div class="img_box1">
<div class="bg_inner1">
<div class="bg_inner2">
<div class="bg_inner3">
<div class="bg_inner4">
<div class="bg_inner5">
<div class="bg_inner6">
<div class="bg_inner7">
<div class="bg_inner8">
<div class="bg_inner9"><a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_featured_product->fields["master_categories_id"]) . '&products_id=' . $random_featured_product->fields["products_id"]) . '">' . zen_image(DIR_WS_IMAGES . $random_featured_product->fields['products_image'], $random_featured_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$content .= '</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<div class="clear"></div>
</td>
<td>
<div style="width:8px;"></div>
</td>
<td style="width:100%;">
';
$content .= '<div style="padding-top:5px; padding-left:0; " class="productSpecialPrice">' . $whats_new_price . '</div>
</td>
</tr>
</table>
';
$content .= '<div style="padding-left:0; padding-top:0; padding-bottom:0;"><b><a href="' . zen_href_link(zen_get_info_page($random_featured_product->fields["products_id"]), 'cPath=' . zen_get_generated_category_path_rev($random_featured_product->fields["master_categories_id"]) . '&products_id=' . $random_featured_product->fields["products_id"]) . '">' . $random_featured_product->fields['products_name'] . '</a></b></div>';
$content .= '</div>';
$random_featured_product->MoveNextRandom();
}
?>
Where do I insert the zen_trunc_string???