X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Creating Multiple menus for static pages (https://forum.x-cart.com/showthread.php?t=34162)

Tye 09-25-2007 08:17 PM

Creating Multiple menus for static pages
 
Hi - I've using the info at http://forum.x-cart.com/showthread.php?t=24054 to make a separate menu for my static pages, but is there a way to create 2 menus and split your static pages between the 2.

I'd like to do this dynamically if possible without hard coding.

Thanks

Tye 09-25-2007 08:19 PM

Re: Creating Multiple menus for static pages
 
Another similar problem I have is that I would like to make a shipping information page which goes in the help menu... but I have split my static pages from the help menu... is it possible to make a new help menu item?

Tye 09-26-2007 07:13 PM

Re: Creating Multiple menus for static pages
 
OK - so the only way to do this is by hard coding then?

ozchris 10-04-2007 03:48 PM

Re: Creating Multiple menus for static pages
 
As a quick and nasty, I hardcoded mine, but it should be possible to do it by the pos number, as others have with categories.

So for now I've done:
{if $pages_menu[pg].pageid ne 6 and $pages_menu[pg].pageid ne 7}
inside pages_menu.tpl

but I would have preferred to do something like:
{if $pages_menu[pg].pos < 500}

Anyone know the correct syntax?
I've run out of time for now.

Tye 10-08-2007 04:54 PM

Re: Creating Multiple menus for static pages
 
Thanks for sending me in the right direction ozchris - I got the code from this thread:
http://forum.x-cart.com/showthread.php?t=34168


All times are GMT -8. The time now is 06:49 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.