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

How do I add my own pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-06-2005, 11:06 AM
 
Sherri Sherri is offline
 

Senior Member
  
Join Date: May 2005
Location: Stroud, Glos, UK
Posts: 122
 

Default 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
__________________
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
Reply With Quote
  #2  
Old 06-06-2005, 11:34 AM
 
balinor balinor is offline
 

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

Default

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
Reply With Quote
  #3  
Old 06-06-2005, 11:34 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

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.
Reply With Quote
  #4  
Old 06-06-2005, 12:25 PM
 
Sherri Sherri is offline
 

Senior Member
  
Join Date: May 2005
Location: Stroud, Glos, UK
Posts: 122
 

Default

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
Reply With Quote
  #5  
Old 06-07-2005, 10:08 AM
 
Sherri Sherri is offline
 

Senior Member
  
Join Date: May 2005
Location: Stroud, Glos, UK
Posts: 122
 

Default

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
Reply With Quote
  #6  
Old 06-07-2005, 11:06 AM
 
balinor balinor is offline
 

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

Default

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
Reply With Quote
  #7  
Old 06-08-2005, 12:31 AM
 
Sherri Sherri is offline
 

Senior Member
  
Join Date: May 2005
Location: Stroud, Glos, UK
Posts: 122
 

Default

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
Reply With Quote
  #8  
Old 06-08-2005, 04:03 AM
 
balinor balinor is offline
 

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

Default

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
Reply With Quote
  #9  
Old 06-08-2005, 06:26 AM
 
Sherri Sherri is offline
 

Senior Member
  
Join Date: May 2005
Location: Stroud, Glos, UK
Posts: 122
 

Default

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
Reply With Quote
  #10  
Old 06-08-2005, 06:29 AM
 
balinor balinor is offline
 

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

Default

Glad I could help, enjoy
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:18 AM.

   

 
X-Cart forums © 2001-2020