It seems there is a bug either with the rockettheme templates or the gantry framework. When I try to apply or save the changes made for the template it does nothing, other than showing the spinning wheel on top of the saving button. It seems that when the save or apply button are pressed, the system does not register the SAVE OR APPLY command.
any suggestions? fixes?
[ take a look at the Joomla saving button in the screen shot ]
Re: Template does not SAVE or APPLY changes to layout
Posted 14 years 7 months ago
Each time you SAVE changes to your template in the ADMIN area, it replaces the "params.ini" file.
All RT templates have this file located in the TEMPLATES> NAME OF TEMPLATE folder.
When you are working on a local site (i.e. offline), it doesn't change the permissions. When you are working on a live site, you will need to change your file permissions for this specific file EACH TIME you have made changes. I usually go in through my site's Control Panel and double-check to make sure it's set to "775" (Read, Write and Execute for "User" and "Group") immediately before I save any changes. You may also do this through your FTP program. This is a great security precaution and a feature I didn't like at first, until my site was hacked several times (my early days with Joomla). LOL
After your first SAVE, you'll need to do this EACH TIME you save any changes in the
Admin> Extensions >Templates on a live site.
This is a VERY good reason to set up a site via localhost on your computer so you can play around with it until you are satisfied with "the look." Once you are happy with it, upload the "params.ini" file to your live site and you're done.
Re: Template does not SAVE or APPLY changes to layout
Posted 14 years 7 months ago
thank you for your prompt response.
You were right, it is making the changes in the live site. However, it does not make them in my local site. I have a local machine with apache and mysql as testing server. do you know how to make it work in the local machine (localhost) ? I noticed in the php files that the permissions are set correctly [775] , but still not apply changes... any thoughs ?
Re: Template does not SAVE or APPLY changes to layout
Posted 14 years 7 months ago
I seem to recall a fix for not applying changes that had been talked baout in the forums here but I can't find it now. Something to do with some types of setups. Anyone know where that thread is? There was some code to replace that would fix the not applying changes issue.
Re: Template does not SAVE or APPLY changes to layout
Posted 14 years 7 months ago
Since you have it on your local server (a.k.a. hard drive), go to the params.ini file on your hard drive and change the file permissions there before you save your changes.
I use Xampp for my local server needs. Perhaps it makes a difference on whether it changes the file each time you save it, perhaps not. IF you are using Windows, open Windows Explorer, navigate to the file, RIGHT-CLICK on the file, LEFT-CLICK PROPERTIES and uncheck the Read Only attribute. That should fix it.
If you want to change the parameter via the method described in the above link, make SURE you go back and reset it when you have completed your changes. I "STRONGLY" discourage keeping the file open for changes, even by the owner, on a live site by default. It's just one more security loophole.