Re: Categories As an UL?
My problem is I cannot decipher in smarty where the INDIVIDUAL categories are shown. I am having a hell of a time with smarty i am not use to a page being broken up into so many pieces. Its like someone shattered a piece of glass heh
{capture name=menu}
{if $active_modules.Fancy_Categories ne ""}
{include file="modules/Fancy_Categories/categories.tpl"}
{assign var="fc_cellpadding" value="0"}
{else}
{if $config.General.root_categories eq "Y"}
{foreach from=$categories item=c}
<font class="CategoriesList"><a href="home.php?cat={$c.categoryid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{else} {foreach from=$subcategories item=c key=catid}
<font class="CategoriesList"><a href="home.php?cat={$catid}" class="VertMenuItems">{$c.category}</a></font><br />
{/foreach}
{/if}
{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}</a>
I have my CSS and XHTML written. Now I just need to figure out how to integrate it into smarty.
If all I had to do was type the direct link and style it this would be cake. Maybe i should start using smarty in my own apps heh.
__________________
Version 4.1.6
|