Accessory

Developer
Supported

Environment

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Trevor Davis

     

You must be logged in to post.

Show to other member groups?

Feature Request

Damien
Damien

Would there be a lot involved in being able to allow other member groups to see this? I have a couple of almost identical sites - one for an Australian company and one for its New Zealand parent - its been really useful to me to have Environment show ‘Australia’ or ‘NZ’ but non-Super-Admins cant see it.

Trevor Davis
# 1
Developer
Trevor Davis

I can probably set it up to use a config variable to pass in an array of member groups. I’ll see if I can get to it tonight.

Damien
# 2
Damien

Fantastic! Works perfectly. Thanks for the rapid action : )

Trevor Davis
# 3
Developer
Trevor Davis

Good suggestion, I just pushed the update. Just assign an array of member group IDs to the following config variable:

$config['environment_member_groups'= array(16);