Loading...
 
Features / Usability

Features / Usability


Re: Hiding page_bar for anonymous user?

posts: 3665 United States

To hide the page_bar from Anonyous users, try:

Image
Copy to clipboard
{if $show_page_bar eq 'y' and $user} {include file="tiki-page_bar.tpl"} {/if}


For the Created by stuff, look in tiki-show_page, starting at about line 177 through 208.

-Rick


> Hello,
>
> I'd like to hide the page_bar section and also the "Created by..." for anonymous users, keeping them for other users (editors, admin and so forth).
>
> I've found that the button bar is being printed in tiki.tpl:
> {if $show_page_bar eq 'y'}
> missing page for plugin INCLUDE

> {/if}
>
> Is there any configuration parameter that allow setting $show_page_bar to "n" or should I modify the original tiki.tpl? In this case, how can I ask for the user type?
>
> Furthermore, any pointer to hiding the "Created by..." row that also appears under the page would be appreciated.
>
> Thanks in advance. Regards,
>
> Felix
>

There are no comments at this time.