View Single Post
  #7  
Old 12-10-2008, 08:38 AM
 
tbm tbm is offline
 

Advanced Member
  
Join Date: Nov 2008
Posts: 39
 

Default Re: controlling static page appearance

Ok, that worked! it created 2 new menu blocks and put the correct menu items in each!

now, if i want to add certain static pages to the manufacturers menu and other static pages to the help can i do this using the same idea?

for example, if i wanted to add the < 100 static menu items to the help menu, could i do this:

PHP Code:
{* $Idhelp.tpl,v 1.20 2005/11/17 06:55:36 max Exp $ *}
{
capture name=menu}
<
a href="help.php?section=contactus&amp;mode=update" class="VertMenuItems">{$lng.lbl_contact_us}</a><br />
<
a href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement}</a><br />
<
a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions}</a><br />

{
section name=pg loop=$pages_menu}
        {if 
$pages_menu[pg].orderby lte 100}
            <
a href="pages.php?pageid={$pages_menu[pg].pageid}class="VertMenuItems">{$pages_menu[pg].title}</a><br />
        {/if}
    {/
section}  

{/
capture}
{ include 
file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"
__________________
Linux
X-Cart 4.1.11
Reply With Quote