| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to select specific static pages to appear in menu? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Please advise how to select specific static pages to appear in my side menu e.g. help menu.
In my pages_menu.tpl file I have the following: - {if $pages_menu[pg].orderby > 300} What do I need to change so that I may select specific pages rather than a range of pages? Most likely a dumb question but I▓m not smart(y) enough to solve it. Thanks in advance for any help.
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
PHP Code:
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks Yurij
When we apply the code we get a blank. That is, non of the pages are listed in the menu. The following is the entire code after adding your suggestion for pages_menu.tpl PHP Code:
170, 180, 190 being the positions of the static pages I wish to add to the menu. Did I do it as you intended? Otherwise any other ideas much appreciated.
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
If you use position (filled orderby) 170, 180, 190, then use next code: PHP Code:
|
|||||||||
#5
|
|||||||
|
|||||||
![]() Thanks Yurji,
It worked a treat.
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
|
|||
X-Cart forums © 2001-2020
|