![]() |
Static Pages Link Display
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! |
Re: Static Pages Link Display
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. |
Re: Static Pages Link Display
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! |
Re: Static Pages Link Display
The only way I know is to hard code the links into the help section.
|
Re: Static Pages Link Display
Quote:
With a simple if/then construct you can control which embedded pages appear. e.g. Code:
{if $pages_menu[pg].orderby gt "900"} |
Re: Static Pages Link Display
Brilliant!
Thank you very much mates. |
Re: Static Pages Link Display
Thank you for the if statement, I have been looking for something like that for some time now.
|
Re: Static Pages Link Display
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 :-) |
Re: Static Pages Link Display
finerpeter, can you copy and paste your pages_menu.tpl code, I enter the code it don't seem to work
|
All times are GMT -8. The time now is 05:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.