How to allow Administrators to access parameters?

Phoca Gallery - image gallery extension
FusionStudio
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Jan 2010, 15:19

How to allow Administrators to access parameters?

Post by FusionStudio »

Hello,

First off, let me express my appreciation to you folks for creating Phoca Gallery. It's wonderful.

With that said, I've run into a problem that I can't seem to find a fix for on you site, forum, and through a Google search. How can I allow Administrators to access the parameters?

The problem is that we never like to give our clients Super Admin access but without doing this we are constantly having to turn thumbnail creation back on when the server rejects their large images. It would be so helpful, for myself and others in this situation, to be able to give access based on Joomla access groups to allow them the ability to do this themselves.

Please advise,

Mike Hubbard, Graphic Design
www.fusionstudio.com
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to allow Administrators to access parameters?

Post by Jan »

Hi, I think, this is more Joomla! than Phoca question and should be asked on forum.joomla.org as this is managed by Joomla! framework not by Phoca :-(

For now I don't have any experiences how can administrators access Parameters of extensions in Joomla! so cannot give any advices there :-(

Jan
If you find Phoca extensions useful, please support the project
FusionStudio
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Jan 2010, 15:19

Re: How to allow Administrators to access parameters?

Post by FusionStudio »

Thanks Jan,

I tested your theory with other components and you seem to be correct. I find it strange that it's not controlled by the component, but then again I'm not a developer!

I'll try the Joomla forums but if anyone else reading this has any suggestions, please do post them.
FusionStudio
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Jan 2010, 15:19

Re: How to allow Administrators to access parameters?

Post by FusionStudio »

Found this: http://forum.joomla.org/viewtopic.php?f=304&t=286069
In the toolbar.php file in adminstrator/includes the preferences function checks the user's group id. If the current user is not part of the Super Administrator group, the function returns wihtout invoking anything. It's hard-coded right now. You can hack the framework and allow group id of 24 or 25 or wait for improved acls in Joomla 1.6.
Not the best option but not much else can be done by the sounds of it.

Mike
Post Reply