View Single Post
  #6  
Old 10-23-2006, 11:22 PM
 
zebu zebu is offline
 

eXpert
  
Join Date: Oct 2006
Posts: 310
 

Default Re: How to have an embedded html file show in the main screen area?

ok been giving this some thought. So you are saying I should be able to tell the help menu to display page ids 1 to 10, and the new menu to display pages 10 and above??

So how do i edit pages_ menu.tpl to loop thru up to page id 10?


section name=pg loop=$pages_menu}
{if $pages_menu[pg].orderby le 10} ???
<A href="pages.php?pageid={$pages_menu[pg].pageid}" class="VertMenuItems">{$pages_menu[pg].title}</A><BR>
{/section}

then in my new guides-tpl (my new menu tpl ) i want to show page ids higher than 10


{capture name=menu}
{if $pages_menu[pg].orderby gt 10}
{/capture}
{ include file="menu.tpl" dingbats="guide.gif" menu_title= "Guides" menu_content=$smarty.capture.menu}[/left]


Am i on the right track here? Struggling with the syntax?
__________________
Version 4.7.7
Reply With Quote