[xwiki-users] Help needed :o) - Xwiki vs. Twiki
Ludovic Dubost
ludovic at xwiki.org
Tue Jan 8 09:03:48 CET 2008
You can add
#set($showcomments = false)
#set($showattachments = false)
In a page where you don't want to see the comments/attachments block.
To do the same for a space put it in the skin with
#if($doc.space=="spacename")
#set($showcomments = false)
#set($showattachments = false)
#end
Ludovic
Josef Pfleger wrote:
> Of course users can still upload files and post comments to the
> respective urls directly, even with 'showattachments' or 'showcomments'
> set to 'no'. These settings just tell the skin not to render the HTML,
> they don't affect any privileges.
>
> If you want to prohibit commenting, set the according rights (Level
> 'comment') for the page/space. Unfortunately there is no rights level
> for attachments. Attachments are (hard-coded into XWiki's Core) bound to
> the 'edit' rights level.
> _______________________________________________
> users mailing list
> users at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
More information about the users
mailing list