Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
Different sidebars
Different sidebars?
Avatar
AdilN #1
Member for 2 weeks · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Different sidebars
Hi,

I want to make different sidebars for different users.
For example:
sidebar1 is using for managers
sidebar2 is using fot specialists

How can i do this on dokuwiki?
Avatar
alain_b #2
Member for 2 weeks · 4 posts
Group memberships: Members
Show profile · Link to this post
Hi,

I believe the "ifauth" plugin is what you are looking for. Assuming "managers" and "specialists" belong to different groups, this plugin will allow you to build your sidebar with a conditional statement so that they can each see a different sidebar. Something like:

<ifauth @managers>
sidebar1
</ifauth>
<ifauth @specialists>
sidebar2
</ifauth>
Avatar
MartinR #3
Member since Jul 2015 · 159 posts · Location: UK
Group memberships: Members
Show profile · Link to this post
Hi Alain, thanks for the pointer.

Both, I think the required plugin should be https://www.dokuwiki.org/plugin:ifauthex, not https://www.dokuwiki.org/plugin:ifauthifauthex was last revised in January this year whereas ifauth was last revised in September 2005.  I'd always be very wary of 14 year old code!
Avatar
alain_b #4
Member for 2 weeks · 4 posts
Group memberships: Members
Show profile · Link to this post
great, thanks for the tip, I did not see ifauthex before !
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-12, 05:55:35 (UTC +01:00)