Loading...
 
Features / Usability

Features / Usability


[SOLVED] Hide the page bar based on group

posts: 8513 Israel

Hello,

I have a Tiki22 where anonymous have no permission but to view pages and images.
However they can see the page-bar "More" button with Export and Slideshow.
This is something that I don’t want.

Is there a way to set the permission for the page bar ?
Or any option to hide it if it displays only the More button ?

(I have a work with a {if $user} in a custom template but wonder if I didn’t missed an option somewhere)

posts: 126825 United Kingdom

Do export and Slideshow not have permissions? Maybe not, and even then you can get left with a more button with nothing on it (so actually a bug).

I usually do this sort of thing (for page actions usually) with some custom css and enable the layout_add_body_group_class pref, so you can do something like:

.wikiactions_wrapper, .wikitopline { display: none; } .grp_Registered .wikiactions_wrapper, .grp_Registered .wikitopline { display: inherit; }
posts: 8513 Israel
Jonny Bradley wrote:

Do export and Slideshow not have permissions? Maybe not, and even then you can get left with a more button with nothing on it (so actually a bug).

I usually do this sort of thing (for page actions usually) with some custom css and enable the layout_add_body_group_class pref, so you can do something like:

.wikiactions_wrapper, .wikitopline { display: none; } .grp_Registered .wikiactions_wrapper, .grp_Registered .wikitopline { display: inherit; }


Good option too for sure.
But I agree we should be able to control this and mask the More button if empty.

I will post a ticket about this.