butina92 Posted March 10, 2014 Share Posted March 10, 2014 Hi, for some reason text in my categories doubles itself, like on this picture. Please, help!! www.vilksboots.com Link to comment Share on other sites More sharing options...
vekia Posted March 10, 2014 Share Posted March 10, 2014 Hi, for some reason text in my categories doubles itself, like on this picture. Please, help!! www.vilksboots.com Screen Shot 2014-03-07 at 7.02.21 PM.png check this post : http://www.prestashop.com/forums/topic/273022-info-regarding-group-description/?do=findComment&comment=1374950 Link to comment Share on other sites More sharing options...
butina92 Posted March 11, 2014 Author Share Posted March 11, 2014 Hi, Vekia I really don't understand how to change it even though I went through that topic. I didnt get what did the moderator mean by "and add the {* ....code... *} (2x)", what should I add and where? Sorry about that Link to comment Share on other sites More sharing options...
vekia Posted March 11, 2014 Share Posted March 11, 2014 in your category.tpl file (from your theme directory) {if $category->description} <div class="cat_desc"> {* {if strlen($category->description) > 120} <p id="category_description_short">{$category->description|truncate:120}</p> <p id="category_description_full" style="display:none">{$category->description}</p> <a href="#" onclick="$('#category_description_short').hide(); $('#category_description_full').show(); $(this).hide(); return false;" class="lnk_more">{l s='More'}</a> {else} *} <p>{$category->description}</p> {* {/if} *} </div> {/if} ad {* and *} exactly as you can see above Link to comment Share on other sites More sharing options...
butina92 Posted March 11, 2014 Author Share Posted March 11, 2014 Thank you so much! work perfectly! Link to comment Share on other sites More sharing options...
vekia Posted March 12, 2014 Share Posted March 12, 2014 you're welcome but in fact, "thank you" goes to special thanks for Pascal for detailed solution Link to comment Share on other sites More sharing options...
Recommended Posts