Display Product Description = PRODUCT_LIST_DESCRIPTION =
includes/functions/functions_general.php ==== This module contains the ellipsis '...' that is used when the product text is truncated.
In includes/modules/product_listing.php ==== The products title is determined by the following:
$lc_text = '
';
$lc_text2 = $lc_addr . more;
The first line above sets $lc_addr to the address of the destination page.
The second line concatenates the link to the word "more"
Changed line 103
$lc_text = '' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '' . $lc_text2 . '
';
I changed the last part of the line "PRODUCT_LIST_DESCRIPTION) . '';"
to "PRODUCT_LIST_DESCRIPTION) . '' . $lc_text2 . '';"
Notes: I did a search for the ellipsis first.
Using my editor of choice (Textpad from Helios Software), I did a search in the original zen files.
I searched for '.. in hex which is a 272E2E and it turned up 107 hits in 47 files. This is for both 1.3.0.2 and 1.3.5.
I then did a find for 2E2E2E hex which ultimately turned up includes\functions\functions_general.php(1045): if ($more == 'true') $str .= "...";
This led me to do a search for zen_trunc_string which turned up 8 hits in 1.3.5
At this point I knew I was looking for the string because I had seen it when I viewed the source code of the page I started working on.
There were 3 lines of code of interest in the product_listing.php file. One of them was commented out. This left only two lines that were potentials.
I started testing for the one of primary interest by just inserting some text to see what showed up on my page.