| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I add my own pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm sorry if this is an obvious question and I've searched for a similar one with no luck......
I want to add my own page with a link in the speed bar or under one of the other groups e.g. Specials. I have the html code written and I can call it, but it opens in another window and it doesn't follow the website template design. Can someone tell me how to do this? Thanks
__________________
Sherri X-Cart Gold v4.4 (work in progress) LiteCommerce 2.2 X-Cart Gold v4.0.18 X-AOM X-RMA Web Server Apache Operation System Linux |
|||||||
#2
|
|||||||
|
|||||||
![]() You want to add static pages. Click on the 'static pages' link in the Admin menu and add an embedded page. It will automatically show up as a link on the help menu, and will appear in the center table cell.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Hi, you need to add your page as a Static Page, under Admin, then create an Embedded page. Just paste your html code in there.
http://forum.x-cart.com/viewtopic.php?t=17466&highlight=target This link may help you, just change _blank to _self to open the page in the same window.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thanks for that.
I want to add a page to the Help Section and one to the Special section. The static pages only seem to go into the help section. How do I separate them? You can see what I mean if you look at my site that I am building http://www.my-wedding-wishes.co.uk/xcart I want the Dyeing Service in the Special section and Refund Policy in the Help section. I have managed to call it into the Special section but I have both pages in both sections. Thanks
__________________
Sherri X-Cart Gold v4.4 (work in progress) LiteCommerce 2.2 X-Cart Gold v4.0.18 X-AOM X-RMA Web Server Apache Operation System Linux |
|||||||
#5
|
|||||||
|
|||||||
![]() Does anyone know how to do this?
__________________
Sherri X-Cart Gold v4.4 (work in progress) LiteCommerce 2.2 X-Cart Gold v4.0.18 X-AOM X-RMA Web Server Apache Operation System Linux |
|||||||
#6
|
|||||||
|
|||||||
![]() What you would need to do is remove the code in help.tpl that automatically adds the static pages to the menu, and then hard code the link into both the help menu and the special menu. That make sense?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Thanks!
I understand what you mean, but I'm not sure where and how to do this. Can you explain a bit deeper please? ![]()
__________________
Sherri X-Cart Gold v4.4 (work in progress) LiteCommerce 2.2 X-Cart Gold v4.0.18 X-AOM X-RMA Web Server Apache Operation System Linux |
|||||||
#8
|
|||||||
|
|||||||
![]() Ok, let me see if I can walk you through this. First, you will need to remove the code in help.tpl that automatically adds the static pages. So, open up help.tpl and remove or comment out this code:
{include file="pages_menu.tpl"} Next, you will want to hard code your links in to the menus. For the help menu, edit help.tpl. For the 'special' menu, edit customer/special.tpl. The links to the static pages should be formatted like this: Link Name where x is the number of the static page you want to link to. You can find this number by going to the static pages section and moving your mouse over the page you want to link to. The link will appear at the bottom of your browser. Good luck!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() Wow Padraic !!
![]() Thank you very much! Exactly what I wanted. Thanks for taking the time to explain it to me..... I can now add others in the same manner. You've made my day ![]()
__________________
Sherri X-Cart Gold v4.4 (work in progress) LiteCommerce 2.2 X-Cart Gold v4.0.18 X-AOM X-RMA Web Server Apache Operation System Linux |
|||||||
#10
|
|||||||
|
|||||||
![]() Glad I could help, enjoy
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|