Comments, tags and other extras are handled in the docextra.vm template.
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhichSectionstoDisplay
You can create a velocity script to test if the user is a member of a given 
group and disable comments if not.

Caleb


Sunil Khiatani wrote:
> Hi,
> 
> I would also like to selectively hide comments for certain users.  I have 
> already disabled comments for all users as mentioned in the faq.  According 
> to the following link, it is possible to selectively hide comments using a 
> velocity script.  Can someone explain how it works, I can't find the Custom 
> Display Attribute anywhere:
> 
> http://n2.nabble.com/Conditionally-hiding-content-tp2147464p4672859.html
> 
> Regards,
> 
> Sunil
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to