I think we should add a short tutorial on how to customize the drawer on xwiki.org.
Any taker? :) Thanks -Vincent > On 19 May 2016, at 10:55, Guillaume Delhumeau <[email protected]> > wrote: > > Hello. > > For 1, you need to modify XWiki.UserIndexUIX to add a check on the > administrator right (you could add $isAdmin and that's all). > See: > https://github.com/xwiki/xwiki-platform/blob/4f7e47962ad5867d85f16c2c0452fb25ab69d4e6/xwiki-platform-core/xwiki-platform-user/xwiki-platform-user-directory/xwiki-platform-user-directory-ui/src/main/resources/XWiki/UserIndexUIX.xml#L118-L118 > > For 2, you need to implement some UI extensions, see: > http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/DrawerItem > > Documentation: > http://extensions.xwiki.org/xwiki/bin/view/Extension/UIExtension+Module > > Thanks, > > > 2016-05-19 5:33 GMT+02:00 superuser <[email protected]>: > >> I tried to play around with drawer.vm but only in vain. I need to: >> 1] display 'User Index' from drawer only to administrator (not possible by >> 'administer page/parent' option) >> 2] add other applications e.g. 'Invitation', 'sandbox' to drawer >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Display-User-Index-in-drawer-only-to-administrators-tp7599503.html _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

