linster Posted August 23, 2012 Share Posted August 23, 2012 (edited) Hi, I need help to remove the funny question mark at the product listings. The summary was ok and showing "...", but after I changed the number to text to be shown, from 400 to 200, it is not showing correctly anymore. Here's the coding: <p class="product_desc"><a class="product_descr" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:20:'...'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:200:'...'}</a></p> Any help is appreciated. Thanks!! Edited August 23, 2012 by linster (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted August 23, 2012 Share Posted August 23, 2012 (edited) I see some issues it appears that you have pasted some code into the wrong places take a look at the code below the first set of strings is yours the second is from mine. (the code in red might be the issue) Also the first truncate says 20 not 200 (strip_tags is missing or did you remove)) <p class="product_desc"><a class="product_descr" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:20:'...'|escape:'htmlall':'UTF-8'}"> {$product.description_short|truncate:200:'...'}</a></p> <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:360:'...'}</a></p> Copy and paste this corrected code and see if it works: <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:200:'...'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:200:'...'}</a></p> Edited August 23, 2012 by tdr170 (see edit history) 1 Link to comment Share on other sites More sharing options...
linster Posted August 23, 2012 Author Share Posted August 23, 2012 Hey tdr170 it worked! Thank you very much. But now I m having hyperlink underline at the summary. Any idea how I can remove it? Thanks again! Link to comment Share on other sites More sharing options...
linster Posted August 23, 2012 Author Share Posted August 23, 2012 Figured that out.. made the changes in global.css... Thanks! SOLVED! Hey tdr170 it worked! Thank you very much. But now I m having hyperlink underline at the summary. Any idea how I can remove it? Thanks again! Link to comment Share on other sites More sharing options...
tdr170 Posted August 23, 2012 Share Posted August 23, 2012 Your welcome glad to help. Link to comment Share on other sites More sharing options...
Recommended Posts