andreafed Posted October 25, 2013 Share Posted October 25, 2013 Help! The first paragraph of text is duplcating at the top of all my Category pages. Every category page features an image. Then the duplicate paragraph which ends with the word "More" (and it isn't a link) The More tag is reminiscent of WordPress, but the HTML gives no indication of any such tag. It starts with the <h2> goes on to the <p> etc. etc. and nothing seems duplicated. I checked all the Modules and could find none that could be misconfigured to make this happen. Any ideas? Link to comment Share on other sites More sharing options...
vekia Posted October 26, 2013 Share Posted October 26, 2013 follow steps described in this post: http://www.prestashop.com/forums/topic/273022-info-regarding-group-description/?do=findComment&comment=1374950 1 Link to comment Share on other sites More sharing options...
andreafed Posted October 29, 2013 Author Share Posted October 29, 2013 I did.. changed the <p> tags to <div> but the problem persists. Here's the code in the themes>default>categories.tpl file. I think the culprit is in bold below because the duplicated text appears in each category with a 'More' link (although it doesn't work)... {if $category->description} <div class="cat_desc"> {if strlen($category->description) > 120} <div id="category_description_short">{$category->description|truncate:120}</div> <div id="category_description_full" style="display:none">{$category->description}</div> <a href="#" onclick="$('#category_description_short').hide(); $('#category_description_full').show(); $(this).hide(); return false;" class="lnk_more">{l s='More'}</a> Link to comment Share on other sites More sharing options...
andreafed Posted October 29, 2013 Author Share Posted October 29, 2013 I couldn't for the life of me figure out what and add the {* ....code... *} (2x) meant. Where? Replace the entire green code with {* ...code... *} twice? It was easier to just change the <p> tags to <div>s... of course, that didn't work. Link to comment Share on other sites More sharing options...
Recommended Posts