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

how to add a file?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-29-2005, 10:31 AM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default how to add a file?

Hello,

I need to add a file or template (newbie) to xcart.

I want to add a page just like the privacy policy page for my security policy.

On the bottom of my privacy policy page I have a link to my security policy, but no page to link it to.

What is the best way to do this?

Regards,
The Counselor
__________________
Version 4.0.13
Reply With Quote
  #2  
Old 04-29-2005, 10:32 AM
 
balinor balinor is offline
 

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

Default

Create a new embedded static page (click on static pages on the Admin Menu). A link will also show up in the help menu.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-29-2005, 11:04 AM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Quote:
Originally Posted by balinor
Create a new embedded static page (click on static pages on the Admin Menu). A link will also show up in the help menu.

I added a new page but no link showed in the help menu.

How do I get the proper path to the link?
__________________
Version 4.0.13
Reply With Quote
  #4  
Old 04-29-2005, 11:06 AM
 
balinor balinor is offline
 

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

Default

Make sure you added an embedded page and not a root page.

the link will be

pages.php?pageid=x

Where x is the page number. You can get that by moving your mouse over the name of the page when you are viewing the list of static pages.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-29-2005, 11:43 AM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Ok,

I added an embedded page.

Via web master mode I edited the link code but when I tried to save it I received this message.

Runtime Error.

Line:0
Error: Object doesn't support this property or method.
__________________
Version 4.0.13
Reply With Quote
  #6  
Old 04-29-2005, 11:53 AM
 
balinor balinor is offline
 

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

Default

What page did you try to edit the link on?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 04-29-2005, 12:06 PM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

I tried to edit it via the privacy policy page.
__________________
Version 4.0.13
Reply With Quote
  #8  
Old 04-29-2005, 12:09 PM
 
balinor balinor is offline
 

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

Default

Link should read something like this:

text
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 04-29-2005, 12:44 PM
 
the counselor the counselor is offline
 

Member
  
Join Date: Apr 2005
Posts: 22
 

Default

Thanks,

It works!

One more question.

If I want to show a image in one of the pages do I put the images (jpeg's) in the /skin1/images directory.
__________________
Version 4.0.13
Reply With Quote
  #10  
Old 04-29-2005, 12:57 PM
 
balinor balinor is offline
 

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

Default

Yes, they go in the skin1/images directory and are called like this:

[img]{$ImagesDir}/imagename.jpg[/img]
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 11:56 PM.

   

 
X-Cart forums © 2001-2020