Hi Alan,

A.Aqrawi@iaea.org wrote:
How to revert comments on xwiki

Hello all,

How can I revert the order of comments on xwiki?

Vincent Massol once wrote:
"Note that this will be a preference in the next interface of xwiki.com which is coming soon. "

Thanks you all.

alan


It seems that the order of comments are controlled from the commentsinline.vm template. It is stored in xwiki/templates.

Here the required change...

### Original line #if($xwiki.getWebPreferenceAsInt("commentsorder",1)==1)
#if($xwiki.getWebPreferenceAsInt("commentsorder",0)==1)

The "preference" is there, but it is not documented and there is not an entry in WebPreference for it. This other thread could probably apply to the comments order preference as well...

http://www.nabble.com/Disable-and-hide-comments-to13584727.html#a13584727

There is a lot of this kind of work to do within XWiki, but I think that dev people needs more help to get all documented and easily accessible.

Hope this helps,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team