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)
-   -   static embeded page question (https://forum.x-cart.com/showthread.php?t=27746)

jjorda 01-02-2007 02:59 PM

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??

balinor 01-02-2007 03:19 PM

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.

jjorda 01-04-2007 10:27 AM

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

balinor 01-04-2007 10:42 AM

Re: static embeded page question
 
<a href="pages.php?pageid=x">link</a>

Where x is the number of the static page.

jjorda 01-04-2007 12:50 PM

Re: static embeded page question
 
brilliant! thank you for the help much appreciated =)

scraps 01-07-2007 05:34 AM

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 :))

balinor 01-07-2007 03:07 PM

Re: static embeded page question
 
Moving your mouse over the page name in the 'Static Pages' area will show you the number.

sparker2 02-11-2007 07:34 PM

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?

ecommerce 02-12-2007 08:19 AM

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.


vtandon 02-19-2007 07:23 AM

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.



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

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