Log in

View Full Version : Static Pages Link Display


Kaeden
2014-10-01, 07:51 AM
Hello all,

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.loupesusa.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!

Kanaranzi
2014-10-01, 07:53 AM
skin/2-columns/customer/bottom.tlp


Inside that file look for this line:


{foreach from=$pages_menu item=p}
{if $p.show_in_menu eq 'Y'}
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp}</a></li> {/if}
{/foreach}


Change it to:

{foreach from=$pages_menu item=p}
{if $pages_menu[pg].orderby gt "900"}
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp}</a></li>
{/if}
{/foreach}



This will prevent the static pages showing up at homepage, but still showing up in the help section.

Karissa
2014-10-01, 07:56 AM
any way not leting part pages not showing up in the help section also?

Kelsey
2014-10-01, 08:21 AM
skin/common_files/customer/help/general.tpl

change

{foreach from=$pages_menu item=p name=pages}
<li>{include file="customer/buttons/button.tpl" button_title=$p.title href="pages.php?pageid=`$p.pageid`" style="link"}</li>
{/foreach}


to


{foreach from=$pages_menu item=p name=pages}
{if $pages_menu[pg].orderby gt "60"}
<li>{include file="customer/buttons/button.tpl" button_title=$p.title href="pages.php?pageid=`$p.pageid`" style="link"}</li>
{/if}
{/foreach}