X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add Static Page - without showing navigation (https://forum.x-cart.com/showthread.php?t=16291)

shiehshieh 08-31-2005 06:44 PM

Add Static Page - without showing navigation
 
We want to add 30+ static pages, but we don't want them all to appear in the navigation. Is there a way to create static pages in X-Cart, without having their title show up as a link in the navigation bar? Sounds simple, but we can't figure it out.

Please advise. Thanks in advance.

shan 09-01-2005 03:27 AM

you could od things like set the pos value to something over 500 and then use


Code:

{* $Id: pages_menu.tpl,v 1.4 2004/06/24 09:53:29 max Exp $ *}
{section name=pg loop=$pages_menu}

{if $pages_menu[pg].pos lt 500}

{$pages_menu[pg].title}


{/if}

{/section}


ihubling 09-04-2005 07:29 PM

Into which template whould you insert this code?

Thanks.

emerchant 11-27-2005 02:51 AM

Should be added to: pages_menu.tpl

Thanks shan for the original tip! 8)

BMFA 12-18-2005 01:12 PM

Quote:

Originally Posted by shan

Code:

{* $Id: pages_menu.tpl,v 1.4 2004/06/24 09:53:29 max Exp $ *}
{section name=pg loop=$pages_menu}

{if $pages_menu[pg].pos lt 500}

{$pages_menu[pg].title}


{/if}

{/section}



actually, you want to use
Code:

{if $pages_menu[pg].orderby lt 500}

not pos


All times are GMT -8. The time now is 01:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.