View Single Post
  #3  
Old 05-05-2008, 05:47 PM
 
pepperlibido pepperlibido is offline
 

Advanced Member
  
Join Date: Dec 2007
Location: Queensland Australia
Posts: 39
 

Default Re: How to select specific static pages to appear in menu?

Thanks Yurij

When we apply the code we get a blank. That is, non of the pages are listed in the menu.

The following is the entire code after adding your suggestion for pages_menu.tpl




PHP Code:
{* $Idpages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *}
{
section name=pg loop=$pages_menu}


{if 
$pages_menu[pg].pageid eq 170 or $pages_menu[pg].pageid eq 180 or $pages_menu[pg].pageid eq 190}


{* 
WCM CDSEO Links - Static Pages *}<a href="{$http_location}/{$cdseo_pages}/{$pages_menu[pg].filename}class="VertMenuItems" title="{$pages_menu[pg].title}">{* / WCM CDSEO Links - Static Pages *}{$pages_menu[pg].title}</a><br />
{/if}
{/
section

170, 180, 190 being the positions of the static pages I wish to add to the menu.

Did I do it as you intended? Otherwise any other ideas much appreciated.
__________________
Gerard
Version 4.1.8 Gold
Linux
Server Zeus
Australia
Reply With Quote