![]() |
How do I add my own pages
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 |
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. |
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.
|
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 |
Does anyone know how to do this?
|
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?
|
Thanks!
I understand what you mean, but I'm not sure where and how to do this. Can you explain a bit deeper please? :oops: |
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! |
Wow Padraic !! :D
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 :D |
Glad I could help, enjoy :)
|
All times are GMT -8. The time now is 01:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.