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)
-   -   create embedded page without having it show (https://forum.x-cart.com/showthread.php?t=32992)

Gregoryb86 08-02-2007 01:51 PM

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?

carpeperdiem 08-02-2007 03:21 PM

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

Jayk 08-02-2007 05:00 PM

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


All times are GMT -8. The time now is 06:09 PM.

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