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)
-   -   Embbeded Page Question (https://forum.x-cart.com/showthread.php?t=5641)

caucus 12-17-2003 04:10 AM

Embbeded Page Question
 
Hello Group

I added a page that actually works works. I have a button at the top of the page that it links to. When I made the page the link also shows up in the help box. How do I make the page and create the link and not have it show up on the help box?

Any and all help greatly appreciated?

bri 12-22-2003 10:48 AM

hio,

just had to do this same thing... im running 3.5.0 btw.

you need to modify "pages_menu.tpl" In my case, i added a couple embedded pages, but only wanted one to show under the help menu...

Code:

{* $Id: pages_menu.tpl,v 1.2 2003/04/10 13:07:54 svowl Exp $ *}
{section name=pg}
Quick Order Form

{/section}


basically i just took out the loop command and hardcoded the pageid so only that one shows. if you don't want any of them to show, just comment out everything in "pages_menu.tpl"

hope this is what you were lookin for :)

funkydunk 12-22-2003 10:54 AM

Code:

{* $Id: pages_menu.tpl,v 1.2 2003/04/10 13:07:54 svowl Exp $ *}
Quick Order Form



Will do the job.

Otherwise your link might get repeated for each embedded page you have in the system.

caucus 12-22-2003 11:13 AM

Hello Group

I just printed this page and now going to try it out. I have learned to also document any and all changes one makes and back up the page first. What a concept! :P

caucus 12-22-2003 11:30 AM

Hello

Below is what I have:
Quote:

{* $Id: pages_menu.tpl,v 1.2 2003/04/10 13:07:54 svowl Exp $ *}
{section name=pg loop=$pages_menu}
{$pages_menu[pg].title}

{/section}


What do I need to change? Getting the hang of this is not easy.

bri 12-24-2003 08:46 AM

copy & paste this :

Code:

{* $Id: pages_menu.tpl,v 1.2 2003/04/10 13:07:54 svowl Exp $
{section name=pg loop=$pages_menu}
{$pages_menu[pg].title}
 
{/section}
 *}


All i did in the above was move comment tag so the entire template is commented out. This will mean that any embedded page you add will not show up in the help menu. If you need any future ones to show, use the method in the previous posts :)

caucus 12-24-2003 09:36 AM

Hello

Thanks for the help. I will give that a try.


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

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