View Single Post
  #5  
Old 09-14-2006, 04:33 PM
 
digidrum digidrum is offline
 

Member
  
Join Date: Nov 2004
Location: Los Angeles, CA
Posts: 18
 

Default Re: more menus and their static pages

Hello,

First, I'd like to thank you all for the great code. I have a question regarding the "orderby" code.

I have managed to get static pages to populate a Horizontal sub-menu using the above code. I
I would like to use this for multiple "Section" Main menu items.

Example:
Solutions: Static Pageid #1-10
Services: Static Pageid # 11-20
about: Static Pageid # 21-30

etc.

Can I combine

Code:
{if $pages_menu[pg].orderby < 300}

and

Code:
{if $pages_menu[pg].orderby > 300}

to get one string that works high and low?

Any thoughts would be appreciated.
__________________
X-Cart 4.0.7 (unix)
Custom Mods
Virtual Dedicated Server -
Genuine Intel, Intel(R) Xeon(TM) CPU 2.80GHz
psa v7.5.4_build75051014.16 os_FedoraCore 2
Linux 2.4.20-021stab028.3.777-enterprise
PHP 4.4.2
Reply With Quote