Is there a way to hide the Members button and lock icon on public pages?

Events happening in the community are now at Drupal community events on www.drupal.org.
potassiumchloride's picture

For public spaces, the Members button displays alongside the unlocked lock icon. Is there some way to hide these for anonymous users?

Comments

Same question

hazit's picture

I have the same question. Did you find a simple solution?

solution

potassiumchloride's picture

Initially I found this in the issue queue - https://drupal.org/node/2213833 - and it suggests using CSS injector. However, that route hides the tabs for all users and it needed to be role dependent for our users.

My colleague solved it with this custom CSS:

/* Hide Members and Visibility (Padlock) buttons in upper right sidebar */
#contextual-tabs #oa_visibility_toolbar, #contextual-tabs [title=Members] { display: none; }

thanks

hazit's picture

Thanks for the solution here. A bit surprised this not provided for in the main UI options given this is so prominent on the pages.

Looks like I will need to figure out custom CSS sooner rather than later. Despite its good features, each of these steps seems so much more complicated with OA....

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: