View Single Post
  #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