Quote:
Originally Posted by tbm
Hello,
Is it possible to have static pages appear in the help menu and one of the other menus?
Thanks,
tbm
|
You can use the solution snippet for the division into blocs.
block 1 (all static page with value 'order by' <=100)
PHP Code:
{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}
block 2 (all static page with value 'order by' >100)
PHP Code:
{section name=pg loop=$pages_menu}
{if $pages_menu[pg].orderby gt 100}
<a href="pages.php?pageid={$pages_menu[pg].pageid}" class="VertMenuItems">{$pages_menu[pg].title}</a><br />
{/if}
{/section}