![]() |
How to exclude some static pages from the list?
Hi,
I'm trying to setup my static pages into two menu's. One menu with static pages for only information about products: static pages indexed from 0 - 900 2nd menu with static pages for only information about help subjects: static pages indexed from 900 - 999 So I tried the following. Made a new menu, included thie pages_menu.tpl In pages_menu.tpl I added this code: Code:
{if $pages_menu[pg].orderby ne 900} And made a new template called: pages_menu_help.tpl And thats one is included in help.tpl Unfortunately I don't know the code how to show only pages from 900 and above. The code above shows only pages indexed from 0-900. It must be really simple, but I just don't know the code for it anymore. |
|
Quote:
Yes, I was. Didn't knew it was still there, but the problem hasn't been solved yet. I deleted my old topic. The information in this topic is more detailed. I hope someone could help me with this. You must have got a very good memory if you remember all those topics :wink: |
About the code:
This code only exclude the static page with the number 900 Code:
{if $pages_menu[pg].orderby ne 900} I can set the number on 999. But is it also possible to exclude a range of number? For example 0 - 900. That would solve the problem. |
0 - 900
Code:
{if $pages_menu[pg].orderby le 900} 901+ Code:
{if $pages_menu[pg].orderby gt 900} |
Thanks, you saved my day :lol:
|
Re: How to exclude some static pages from the list?
Hi, I cannot figure this out.
I followed this post: http://forum.x-cart.com/showthread.php?t=22582&highlight=static And created a new menu where the static pages show up. (customer_service.tpl), it works great. I need to be able to rename the new menu: Customer Service I would also like to separate them like this example but cannot understand how to include. Is there any way you can jot down the instructions a little bit more detailed? Thank you so very much!! Claudia |
All times are GMT -8. The time now is 04:14 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.