Ok so Ive tried to hard code everything which actually works however the names of the pages are not showing up right in the menu. All pages carry the name of the first statics page. They take you to different pages however the names are all the same. Any ideas?
My categories.tpl
Code:
{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *}
{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"}
<div class="categories">
{foreach from=$categories item=c}
<a href="home.php?cat={$c.categoryid}">» {$c.category}</a>
{/foreach}
</div>
{else}
<div class="categories">
{foreach from=$subcategories item=c key=catid}
<a href="home.php?cat={$catid}">» {$c.category}</a>
{/foreach}
</div>
{/if}
{/if}
{/capture}
{ include file="menu_cat.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
My sell_menu.tpl which is the menu where all my static pages show up
Code:
{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *}
{capture name=menu}
<div class="categories">
{section name=pg}
<a href="pages.php?pageid=6">» {$pages_menu[pg].title}</a>
<a href="pages.php?pageid=8">» {$pages_menu[pg].title}</a>
<a href="pages.php?pageid=7">» {$pages_menu[pg].title}</a>
{/section}
</div>
{/capture}
{ include file="menu_cat.tpl" menu_title=$lng.lbl_sell_menu menu_content=$smarty.capture.menu }
Thanks