X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   image in storefront that is not a product? (https://forum.x-cart.com/showthread.php?t=34214)

gotrisports 09-27-2007 12:50 PM

image in storefront that is not a product?
 
How do add an image to my storefront that is not a product? I normally use the "generate HTML-links" function to copy the code for product images when I display them on the storefront main page. But, how do I add images that are not in my product database to the storefront?

Thank you in advance - Alfred

balinor 09-27-2007 12:53 PM

Re: image in storefront that is not a product?
 
What do you mean by the 'storefront main page'? home.php, index.html??

gotrisports 09-27-2007 01:06 PM

Re: image in storefront that is not a product?
 
Balinor,

Yes - http://www.gotrisports.com/storefront/home.php

Thanks in advance - Alfred

balinor 09-27-2007 01:09 PM

Re: image in storefront that is not a product?
 
Uplaod the image to skin1/images.

Edit skin1/customer/main/welcome.tpl and add the image like this:

<img src="{$ImagesDir}/imagename.jpg" alt=""/>

gotrisports 09-27-2007 01:20 PM

Re: image in storefront that is not a product?
 
Balinor,

Thanks for that tip. Is there a method of adding / revising images through the webmaster mode. These are images that will likely be changed frequently - I am not certain, but it seems like the steps you offered are for more permanent changes - and, I am sorry that I was not more specific as to goal.

Thanks - Alfred

balinor 09-27-2007 01:26 PM

Re: image in storefront that is not a product?
 
Webmaster mode can't handle images I'm afraid. Simply name the image something that you will remember, and upload a new one to replace the old one via ftp each time you want to change it.

gotrisports 09-27-2007 01:39 PM

Re: image in storefront that is not a product?
 
Balinor,

Thank you again. Are there step by step instructions anywhere that I can study to perform this task. As you can tell, I am relatively new to these skills.

Alfred

balinor 09-27-2007 07:37 PM

Re: image in storefront that is not a product?
 
You simply do as I posted above. When you want to change the image, upload an image with the same name to the same folder and it will overwrite it.


All times are GMT -8. The time now is 11:23 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.