Hi All,
I've got these categories and icons associated at the bottom of my home page (
http://mtrhomefurnishings.com/xcart/home.php). I would like to have the field meta_descr print below the headings. The file I'm working in is categories_features.tpl in the cusomer directory. This is what I have now:
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *}
{capture name=mycategories}
<hr class="content_divider">
<div id="featured_cats">
<ul class="featured_cats">
{foreach name="featuredcats" from=$subcategories item="cat"}
<li {strip}
{if $smarty.foreach.featuredcats.iteration%4 == 0}
style="clear: left;"
{/if}
>
{/strip}
<div class="cat_spot">
<a href="home.php?cat={$cat.categoryid}">
[img]{$xcart_web_dir}/icon.php?categoryid={$cat.categoryid}[/img]
</a>
<h2>{$cat.category}</h2>
{$cat.meta_descr} </p>
</div>
{/foreach}[/list]<hr class="content_divider">
</div>
{/capture}
{include file="dialog.tpl" title="Categories" content=$smarty.capture.mycategories extra="" class="mycatlist" no_title="1"}
It shows the category headings and the images associated, just not the meta description. How can I make it do this? Thanks