[xwiki-users] how to mask those elements
Hello! I want to hide some elements of wiki users (but accessible for administrator) : -> The history tab, information and attachments to pages. Only tab comment must be accessible. -> The "recent changes" to the main.dashboard (or then simplify to see only the records created and updated without avatars or attachments). -> Spaces "shelduler", "stat", "xwiki" and "panel" thanks for your help ! _________________________________________________________________ Découvrez toutes les possibilités de communication avec vos proches http://www.microsoft.com/windows/windowslive/default.aspx
Hi, On Oct 2, 2009, at 9:01 PM, Bodin Grégory wrote:
Hello!
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible.
-> The "recent changes" to the main.dashboard (or then simplify to see only the records created and updated without avatars or attachments).
Just edit the page and change it.
-> Spaces "shelduler", "stat", "xwiki" and "panel"
These spaces are already hidden for simple users. Thanks -Vincent
From: [email protected] To: [email protected] Date: Fri, 2 Oct 2009 21:33:13 +0200 Subject: Re: [xwiki-users] how to mask those elements
Hi,
On Oct 2, 2009, at 9:01 PM, Bodin Grégory wrote:
Hello!
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible.
-> The "recent changes" to the main.dashboard (or then simplify to see only the records created and updated without avatars or attachments).
Just edit the page and change it.
-> Spaces "shelduler", "stat", "xwiki" and "panel"
These spaces are already hidden for simple users.
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_________________________________________________________________ Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger ! http://www.ilovemessenger.fr/Emoticones/EmoticonesDejantees.aspx
Seems like you've "hidden" your answer somewhere! :) -Vincent On Oct 2, 2009, at 10:02 PM, Bodin Grégory wrote:
From: [email protected] To: [email protected] Date: Fri, 2 Oct 2009 21:33:13 +0200 Subject: Re: [xwiki-users] how to mask those elements
Hi,
On Oct 2, 2009, at 9:01 PM, Bodin Grégory wrote:
Hello!
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible.
-> The "recent changes" to the main.dashboard (or then simplify to see only the records created and updated without avatars or attachments).
Just edit the page and change it.
-> Spaces "shelduler", "stat", "xwiki" and "panel"
These spaces are already hidden for simple users.
Thanks -Vincent
Hello!
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible.
See http://bit.ly/3c8O3f It work fine, but i must insert the code in each page... And administrator can't acces the hidden tabs : is there a way to automate for all page, and for all user except the administrators (or users with edit rights) ?
-> The "recent changes" to the main.dashboard (or then simplify to see only the records created and updated without avatars or attachments).
Just edit the page and change it. i succeed to delete the avatar, but not the attachments.
-> Spaces "shelduler", "stat", "xwiki" and "panel"
These spaces are already hidden for simple users. Indeed !Thanks again !
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_________________________________________________________________ Messenger débarque dans Hotmail ! Essayez-le ! http://www.windowslive.fr/hotmail/web-messenger/
Re- hello !
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible.
i manage to do it hidden for all groups except for administrators with this : #if ($xwiki.hasAdminRights())#set ($showcomments = "yes") #set ($showattachments = "yes") #set ($showhistory = "yes") #set ($showinformation = "yes")#else#set ($showcomments = "no") #set ($showattachments = "no") #set ($showhistory = "no") #set ($showinformation = "no")#endNow i want this to be automatic on every pages of the wiki, or every page i will create.How could i do ? Is there a way to choose for every page, without having to manually enter the code ? Thanks ! _________________________________________________________________ Un avatar à votre image ? Créez votre mini-moi ! http://www.ilovemessenger.fr/minimize-me/
You could add that code to the view.vm file. If you are running your xwiki instance locally, this is very easy, you simply put it in the file xwiki/skins/colibri/view.vm If you are running a virtual wiki on a wiki farm, you will have to define a custom skin object and put that in the view.vm field in the skin. You may find this helpful. http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiNewSkin Caleb James DeLisle Bodin Grégory wrote:
Re- hello !
I want to hide some elements of wiki users (but accessible for administrator) :
-> The history tab, information and attachments to pages. Only tab comment must be accessible. See http://bit.ly/3c8O3f
i manage to do it hidden for all groups except for administrators with this :
#if ($xwiki.hasAdminRights())#set ($showcomments = "yes") #set ($showattachments = "yes") #set ($showhistory = "yes") #set ($showinformation = "yes")#else#set ($showcomments = "no") #set ($showattachments = "no") #set ($showhistory = "no") #set ($showinformation = "no")#endNow i want this to be automatic on every pages of the wiki, or every page i will create.How could i do ? Is there a way to choose for every page, without having to manually enter the code ? Thanks ! _________________________________________________________________ Un avatar à votre image ? Créez votre mini-moi ! http://www.ilovemessenger.fr/minimize-me/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Bodin Grégory -
Caleb James DeLisle -
Vincent Massol