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

static embeded page question

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

Member
  
Join Date: Feb 2006
Location: MA.
Posts: 23
 

Default static embeded page question

i've created a static embeded page.. and on this page there are a few images and links that, when the customer clicks on one of the links..i would like for it to direct them to another page (that is also embeded in my current websites framework)
instead of making a .html page in the root directory and when the customer clicks the link.. it brings them to a whole nother page.. (without the framework of my storefront)

when i try to create another static embeded page it creates another visible txt link on my menu bar on the left hand side of my storefront.. this is no nessecary..
is there a way to make a static embeded page WITHOUT a visible txt link so i can utilize the pageid# ?

thanks, hope this makes sense??
__________________
Janel P. Jorda, Internet Manager
Supply Guys, Inc.
226 Russell Street
Hadley, MA. 01035
www.supplyguys.net
X-Cart Gold ver. 4.1.0
Reply With Quote
  #2  
Old 01-02-2007, 03:19 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: static embeded page question

Remove this bit from help.tpl:

{include file="pages_menu.tpl"}

That is what automatically adds links. You can just hard-code the ones you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-04-2007, 10:27 AM
 
jjorda jjorda is offline
 

Member
  
Join Date: Feb 2006
Location: MA.
Posts: 23
 

Default Re: static embeded page question

thank you it works nicely..

now i just need to figure out how to hardcode the links i want haha
__________________
Janel P. Jorda, Internet Manager
Supply Guys, Inc.
226 Russell Street
Hadley, MA. 01035
www.supplyguys.net
X-Cart Gold ver. 4.1.0
Reply With Quote
  #4  
Old 01-04-2007, 10:42 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: static embeded page question

<a href="pages.php?pageid=x">link</a>

Where x is the number of the static page.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-04-2007, 12:50 PM
 
jjorda jjorda is offline
 

Member
  
Join Date: Feb 2006
Location: MA.
Posts: 23
 

Default Re: static embeded page question

brilliant! thank you for the help much appreciated =)
__________________
Janel P. Jorda, Internet Manager
Supply Guys, Inc.
226 Russell Street
Hadley, MA. 01035
www.supplyguys.net
X-Cart Gold ver. 4.1.0
Reply With Quote
  #6  
Old 01-07-2007, 05:34 AM
 
scraps scraps is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 60
 

Default Re: static embeded page question

So, my question on this is, how to find out the id# ?

Sorry, been following thread and just found it again to get the answers you provided earlier. Just know it helped 2 people at least )
__________________
Marian
Host: Successful Hosting
X-Cart version 4.1.9
PHP 4.3.10
MySql 4.0.22-standard
Web server Apache 1.3.33 (Unix)
Operating system Linux
Perl 5.8.3
http://www.seamstobesew.com
Reply With Quote
  #7  
Old 01-07-2007, 03:07 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: static embeded page question

Moving your mouse over the page name in the 'Static Pages' area will show you the number.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 02-11-2007, 07:34 PM
 
sparker2 sparker2 is offline
 

eXpert
  
Join Date: Feb 2007
Posts: 290
 

Default Re: static embeded page question

This did not work for me guys. I was trying to do the same thing. I created a FAQ static page and I wanted to add it to the Help section but I cannot get it to work. I created another menu called Main Menu that all my new static pages fall into but there are a few that I do not want there. How can I control this? How do I move the FAQ link from the Main Menu list to the Help Menu?
__________________
Shareen
sparker2@cox.net
http://www.stitches4u.com
X-Cart Version 4.5.0 with Smart Template vs 4.4.x
Reply With Quote
  #9  
Old 02-12-2007, 08:19 AM
 
ecommerce ecommerce is offline
 

eXpert
  
Join Date: Jul 2006
Posts: 267
 

Default Re: static embeded page question

http://forum.x-cart.com/showthread.php?t=28386&highlight=static+pages+menu +tpl

Quote:
Originally Posted by balinor
Add a new embedded static page in 'Static Pages'. That will show up in the help menu on the side. To add it to the main 'help zone' page, edit help/general.tpl and hard-code the link in.
__________________
X-Cart 4.0.18 DBest
Reply With Quote
  #10  
Old 02-19-2007, 07:23 AM
 
vtandon vtandon is offline
 

Member
  
Join Date: Jul 2003
Posts: 25
 

Wink Re: static embeded page question

Brilliant Answer!

Quote:
Originally Posted by balinor
Moving your mouse over the page name in the 'Static Pages' area will show you the number.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:22 AM.

   

 
X-Cart forums © 2001-2020