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

create embedded page without having it show

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-02-2007, 01:51 PM
 
Gregoryb86 Gregoryb86 is offline
 

Newbie
  
Join Date: Feb 2007
Posts: 8
 

Default create embedded page without having it show

I want to create an Embedded page without having it show up in the help section?

How do I do this?
__________________
Greg B
X-Cart 4.1.6
MySQL5 5.0.27
PHP 4.4.6
Perl 5.8.7
AOM - Add on
www.melvillestore.com
Reply With Quote
  #2  
Old 08-02-2007, 03:21 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: create embedded page without having it show

1. in /skin1/pages_menu.tpl

AFTER:
Code:
{section name=pg loop=$pages_menu}

INSERT:
Code:
{if $pages_menu[pg].orderby > 900}
{else}


BEFORE:
Code:
{/section}

INSERT:
Code:
{/if}



2. Then, in your static pages admin setup, assign the POS greater than 900 to pages that you don't want in the "loop" that gets included in the menu.

3. To determine the URL of the static page, hover over the link in the admin and look at the status bar of your browser.

4. Hard code the link of the "hidden" URL (those w/ POS greater than 900) where you need it.

I use the > 900 technique for private pages and logout confirmations and all kinds of little tricks...

Hope this helps.

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 08-02-2007, 05:00 PM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: create embedded page without having it show

Quote:
Originally Posted by carpeperdiem
I use the > 900 technique for private pages and logout confirmations and all kinds of little tricks...

Very nice trick. Quite useful. Thanks for sharing.

Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
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:01 AM.

   

 
X-Cart forums © 2001-2020