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)
-   -   main page image (https://forum.x-cart.com/showthread.php?t=59795)

spiderling 06-15-2011 02:43 PM

main page image
 
I am trying to give the client the ability to change an image on the main page of the store via the admin. I was thinking of using Content => Files in the admin.

The problem though is that the uploaded image is given permissions of 600 and the image does not display on the main page.

How / Where can I allow the client to upload the main image on a regular basis via the admin? Will the "Files" management allow for this somehow?

JWait 06-18-2011 07:47 AM

Re: main page image
 
Just a thought but instead of using the "files" folder what if you used the "templates" folder and created a new directory (something like "banner" or "main_image")? Then add a link to a image in welcome.txt to yourdomain.com/skin/banner/main-image.jpg. The admin can then upload a "new" main-image.jpg in the edit templates section... just be sure to tell them to not edit or replace anything outside of the "banner" folder.

I haven't tried this to see if it would work, but it should.

ScrapOrchard 07-07-2011 12:59 PM

Re: main page image
 
Maybe make a label in the Languages, then call that label where ever it is you want the image to be.

Then they can just update the label content, as needed. This way they won't have to go mucking around in the code!

ScrapOrchard 07-07-2011 01:07 PM

Re: main page image
 
wrong thread?!

ScrapOrchard 07-07-2011 01:24 PM

Re: main page image
 
wrong thread?!


All times are GMT -8. The time now is 02:18 PM.

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