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

Stactic pages question

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-01-2003, 12:29 PM
  JeffQuestad's Avatar 
JeffQuestad JeffQuestad is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 33
 

Default Stactic pages question

I need to create static pages that are not linked from the menus. I presume I need these to be "root" pages. So, two issues....

1. Root pages require all the HTML be supplied. So I am assuming they will not look like the other X-Cart pages. But I don't know this for sure because....

2. When I try to create them is says "is protected from writing" and will not create. Embedded pages work fine. 2b) Can I make embedded pages but suppress them from the menu, but still link them from elsewhere?
Reply With Quote
  #2  
Old 10-01-2003, 01:30 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

Best of using the embedded option for look and feel.

The file to edit is pages_menu.tpl

just {* *} all the content there or delete it if you like and the pages wont appear in the help menu for you.
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 10-01-2003, 01:34 PM
  JeffQuestad's Avatar 
JeffQuestad JeffQuestad is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 33
 

Default

I think I follow you. Make embedded pages, but supress them from the menu using the template you indicated.

How can I tell what link to use to point to these pages then?
Reply With Quote
  #4  
Old 10-01-2003, 11:39 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

very good question

the first page you create will be:

pages.php?pageid=1
__________________
ex x-cart guru
Reply With Quote
  #5  
Old 10-02-2003, 06:40 AM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default

got a different question about the embedded static pages.

We have a message board and I am trying to do a php include to grab that board and put it into the template system.

This is not working so my question is can it be done?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:36 PM.

   

 
X-Cart forums © 2001-2020