| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Static Pages Link Display | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello mates,
I have a question with regards to the static pages feature which if any of you can offer advice I'd greatly appreciate it. I want to add some tutorials on my site through the static page feature, but my problem is that anytime I add a new static page, it ends up being listed under the HELP section on my homepage www.finerribbon.com. Is there a way I can stop the link from showing up on the customer storefront? Thanks in advance for all advice and help. Good luck! |
|||||||
#2
|
|||||||
|
|||||||
![]() In the skin1 folder look for the help.tpl file.
Inside that file look for this line: Code: {include file="pages_menu.tpl"}
Change it to: Code: {*{include file="pages_menu.tpl"}*}
This will prevent the static pages showing up in the help section.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#3
|
|||||||
|
|||||||
![]() Many thanks for your reply and advice mate.
One question; This mod is going to disable all static pages created so far from showing up, is there a way where we can be selective about it? Meaning choose which page we would like to display and which not? I'm presuming it's all or none but I'd appreciate your thoughts on this. Many thanks! |
|||||||
#4
|
|||||||
|
|||||||
![]() The only way I know is to hard code the links into the help section.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
With a simple if/then construct you can control which embedded pages appear. e.g. Code:
|
|||||||
#6
|
|||||||
|
|||||||
![]() Brilliant!
Thank you very much mates. |
|||||||
#7
|
|||||||
|
|||||||
![]() Thank you for the if statement, I have been looking for something like that for some time now.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#8
|
|||||||
|
|||||||
![]() Just a clarification, we should add this if statement to the help.tpl file correct?
UPDATE: the statement should be added to the /skin1/pages_menu.tpl - Thanks to hooter for the info ![]() |
|||||||
#9
|
|||||||
|
|||||||
![]() finerpeter, can you copy and paste your pages_menu.tpl code, I enter the code it don't seem to work
__________________
Runing on Linux server X-cart 4.1.8 GOLD |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|