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

HTML Static Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-27-2003, 08:22 PM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default HTML Static Pages

Can someone tell me why every static page I create, it list's it under the help section on the left below the last link, my question can I place the link it creates in any of the categories and how can I do this?

Anyone!
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #2  
Old 07-28-2003, 04:20 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

this is the bit of code that displays the extra pages in help.tpl

Code:
{include file="pages_menu.tpl"}

you could move that to categories.tpl if you wanted to
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 07-28-2003, 07:40 AM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default Thanks

But that would move all my newly created static pages to the same catagory. Example I have created a page called Support that I do want in the help section where it goes to. Then I want to create another page that I can have list under catagories menu would this be possible or do all the static pages just move all together.
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #4  
Old 07-28-2003, 08:12 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you would need to hard code individual links to do that
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 07-28-2003, 09:20 AM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default Hard Code?

When you say Hard Code how hard would it be, LOL IБ─≥m new to this game here but I know a little HTML that's about it. To do this would it be very hard or can I achieve this if I put some thought into it or do I really need to know PHP and smarty. Any examples on how to do this would be appreciated
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #6  
Old 07-28-2003, 11:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

hover over an existing link, see the url its aiming at and hard code that into the .tpl file you want it to appear in
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 07-28-2003, 01:10 PM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default Example

Can you give me an example of what the line of code should look like and can I just put this anywhere in the .tpl file of my choice?
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
Reply With Quote
  #8  
Old 07-28-2003, 02:36 PM
 
Jerry Jerry is offline
 

Member
  
Join Date: May 2003
Location: Santa Rosa, CA
Posts: 18
 

Default

Hi Shan, I've got a question along the same lines. I want to remove some of the static files from the list under the help menu but leave others. Does that have to be hard coded? Thanks, G.
Reply With Quote
  #9  
Old 07-29-2003, 04:18 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

At the moment this code is called

this loops through all the new pages that you have made and displays them at the bottom of the help.tpl file

if you wanted to hard code a link to one of your new pages you would need to do the following.

Code:

but swap the ??? with the new page id number and change the My New Page text with whatever you want to name the link.

do this in whichever temlpate you wish the link to appear
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #10  
Old 07-29-2003, 11:33 PM
 
EZ EZ is offline
 

Advanced Member
  
Join Date: Jul 2003
Location: Old Bridge, NJ
Posts: 96
 

Default Thank you

Thank you very much!
__________________
Never believe anything you hear and only half of what you see!

Edward J Ziejka
www.innervisionpc.com
X-Cart Gold 4.1.3
Unix
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 07:15 AM.

   

 
X-Cart forums © 2001-2020