This works fine for me:
{{velocity}}
#set ($showcomments = false)
{{/velocity}}
(on the wiki page where you want to hide the comments tab)
Hope this helps,
Marius
On Tue, Apr 22, 2014 at 11:24 AM, Jeremie BOUSQUET
<jeremie.bousquet(a)gmail.com> wrote:
Hello,
This is described here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhi…
But I must say that I couldn't have it work (in xwiki 5.4.3 at least).
From xwikivars.vm, it seems to me that you can only deactivate comments at
minimum at level of a space.
Alternatively you could update your xwikivars.vm to deactivate comments
after testing for a specific page name.
BR,
Jeremie
2014-04-21 18:55 GMT+02:00 Patrick Masson <masson(a)opensource.org>rg>:
I was wondering if it was possible to turn off
comments on a single wiki
page?
I found information for disabling comments across the wiki...
*
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration
*
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachm
ents
and the same question from someone else (but with no response yet)...
*
http://www.xwiki.org/xwiki/bin/view/FAQ/Howcancommentsbedisabledforasi
nglepage
Thanks,
Patrick
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Skype: massonpj
sip: masson(a)getonsip.com <https://www.getonsip.com/
call?a=masson(a)getonsip.com>
Ph: (970) 4MASSON
Em: masson(a)opensource.org <mailto:masson@opensource.org>
Ws:
www.opensource.org <http://www.opensource.org>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users