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

Embbeded Page Question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-17-2003, 04:10 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default 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?
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #2  
Old 12-22-2003, 10:48 AM
 
bri bri is offline
 

Newbie
  
Join Date: Dec 2003
Posts: 9
 

Default

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
Reply With Quote
  #3  
Old 12-22-2003, 10:54 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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.
__________________
ex x-cart guru
Reply With Quote
  #4  
Old 12-22-2003, 11:13 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

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
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #5  
Old 12-22-2003, 11:30 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

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.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
Reply With Quote
  #6  
Old 12-24-2003, 08:46 AM
 
bri bri is offline
 

Newbie
  
Join Date: Dec 2003
Posts: 9
 

Default

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
Reply With Quote
  #7  
Old 12-24-2003, 09:36 AM
  caucus's Avatar 
caucus caucus is offline
 

eXpert
  
Join Date: Oct 2003
Location: FLorida U.S.A
Posts: 356
 

Default

Hello

Thanks for the help. I will give that a try.
__________________
Staying To The Right
But Left of Rush

X-cart Current version: 4.4.2
X-cart Current version: 4.4.1
X-cart Version 4.0.14
X-cart Version 4.1.6
Litecomm Version: 2.2.35
Operating System Linux
PHP Version 5.2.14
Apache/2.2.16 (Unix)
MySQL client version: 5.091
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 09:13 AM.

   

 
X-Cart forums © 2001-2020