Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add Static Page - without showing navigation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-31-2005, 06:44 PM
 
shiehshieh shiehshieh is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 85
 

Default 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.
__________________
Cheers,
Tom
X-Cart v4.1.9 PRO

Boba Tea Direct
"Your source for bubble tea, boba, coffee, tea, chai, and more"
www.bobateadirect.com

Hevla Coffee Co
Freshest roast-to-order low acid coffee
www.hevlacoffeeco.com
Reply With Quote
  #2  
Old 09-01-2005, 03:27 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

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}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 09-04-2005, 07:29 PM
 
ihubling ihubling is offline
 

Member
  
Join Date: Jan 2005
Location: Courtice, Ontario
Posts: 14
 

Default

Into which template whould you insert this code?

Thanks.
__________________
--
ilh

Version 4.0.14
Unix
Reply With Quote
  #4  
Old 11-27-2005, 02:51 AM
 
emerchant emerchant is offline
 

Newbie
  
Join Date: Nov 2005
Posts: 4
 

Default

Should be added to: pages_menu.tpl

Thanks shan for the original tip!
__________________
4.0.x
Reply With Quote
  #5  
Old 12-18-2005, 01:12 PM
 
BMFA BMFA is offline
 

Member
  
Join Date: Nov 2005
Posts: 15
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:58 AM.

   

 
X-Cart forums © 2001-2020