Jump to content

[SOLVED]Category description shows twice


Recommended Posts

Hi elconquense,

If you examine the file  /themes/default/category.tpl, does it contain the section of code shown below?

                        {if $category->description}
				<div class="cat_desc">
				{if strlen($category->description) > 360}
					<p id="category_description_short">{$category->description|truncate:360}</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}

If it's not the same, please post what you do have in that section.

Thanks, Dave

  • Like 1
Link to comment
Share on other sites

  • 11 months later...
×
×
  • Create New...