| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Edit templates from admin side | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I uploaded my cart onto another server, and I am trying to "edit templates"; however everytime I save my changes are refresh the webpage I see no change to the file that I was editing? What do I do to fix that?
I do have chmod 777 to the skin1 folder so I dont understand what is wronge.
__________________
x-cart 4.0.16v linux server |
|||||||
#2
|
|||||||
|
|||||||
![]() The templates themselves need to be writable. Did you get a 'file saved' message at the top of the editing screen when you saved it?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I change the chmod to 777 for the entire skin1 directory main folder, files and subfolders and it works.
thank you
__________________
x-cart 4.0.16v linux server |
|||||||
#4
|
|||||||
|
|||||||
![]() Just remember to change it back when you are done or the hackers will have a field day with your site.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() You may want to research how your webserver works as well. For example on some servers the owner of all the files is the same as the user that controls apache. So basically any commands run by a web interface such as editing these template files will only need writable permissions for that same user, not globally. Which means 777 might not be necessary.
I know that on our servers setting it to a chmod of 744 for the files or a 755 for the directory would be adequate since the first number sets permissions for the user, the second for the group, and the third for global. This way general population would not have access to those files. Then you wouldn't have to worry about changing things back and forth. P.S. If you ever have the caching of files turned on, you may notice that changes take awhile to show up, as the cached template has to expire before the new one is loaded. But that only affects the customers view and not the view of the file itself from the edit console.
__________________
Jason Diehl Finding Cures for Your Online Headaches: http://www.internetmedicineman.com/ |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|