is it possible to remove the update button and link in the administration section , we wish to stop our admin people from pressing the updates button. any updates will be applied by ourselves.
Sorry to say there is no option for this, you'll have to hack at the php code. Although a quick hack might be to point the update server URL somewhere other than the default location. Search the php for "http://upgrade.projectpier.org/upgrade.xml" and change that to a URL under your control (eg http://yourdomain.com/upgrade.xml). That way, they will only see updates if you change the contents of your upgrade.xml file.
Submitted by royal_art on Sat, 05/15/2010 - 08:23.
As I remember, there some three or four PHP files that you will need to edit in order to remove the Update links. At the moment, I'm away from my development PC; here are a few that I remember right now.
1. user_box.php --> Look for the code after line no. 50 or so. This should remove the link from the Admin sub-menu in User box.
2. index.php from views/administration folder. Look for the UL LI code and change it as you want. This should remove the Upgrade link from the hint text as shown after you click "Administration" in User Box on top.
There is another file which you need to edit in order to remove the corresponding Tab. I'm not able to recall it. May be someone else will tell you which file is that.
Sorry to say there is no option for this, you'll have to hack at the php code. Although a quick hack might be to point the update server URL somewhere other than the default location. Search the php for "http://upgrade.projectpier.org/upgrade.xml" and change that to a URL under your control (eg http://yourdomain.com/upgrade.xml). That way, they will only see updates if you change the contents of your upgrade.xml file.
As I remember, there some three or four PHP files that you will need to edit in order to remove the Update links. At the moment, I'm away from my development PC; here are a few that I remember right now.
1. user_box.php --> Look for the code after line no. 50 or so. This should remove the link from the Admin sub-menu in User box.
2. index.php from views/administration folder. Look for the UL LI code and change it as you want. This should remove the Upgrade link from the hint text as shown after you click "Administration" in User Box on top.
There is another file which you need to edit in order to remove the corresponding Tab. I'm not able to recall it. May be someone else will tell you which file is that.
I hope this helps or at least gets you started!
Ruturaaj.