[xwiki-users] Turn off comments on one page only?
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/Howtodisablecommentsandattachments and the same question from someone else (but with no response yet)... * http://www.xwiki.org/xwiki/bin/view/FAQ/Howcancommentsbedisabledforasinglepa... 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: [email protected] <https://www.getonsip.com/[email protected]> Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org>
Hello, This is described here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhic... 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 <[email protected]>:
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: [email protected] <https://www.getonsip.com/ [email protected]> Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org> _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
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 <[email protected]> wrote:
Hello,
This is described here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhic...
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 <[email protected]>:
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: [email protected] <https://www.getonsip.com/ [email protected]> Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org> _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Note that I’ve fixed the doc. Thanks! -Vincent On 23 Apr 2014 at 14:19:12, Marius Dumitru Florea ([email protected](mailto:[email protected])) wrote:
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 wrote:
Hello,
This is described here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhic...
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 :
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: [email protected] > >> [email protected]> Ph: (970) 4MASSON Em: [email protected] Ws: www.opensource.org _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Manuel Smeria (from the XWiki crew) provided the answer to my question I posted (thanks) and I thought I would pass it on to other newbies like me. Also I would be happy to add this to the documentation (FAQ) somewhere if folks think it is appropriate--just tell me where. I did post the response to the one reference I mentioned below: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments While I could not find my answer in the documentation, it might have simply been due to my perspective of the problem, i.e. looking at this from a comments management, rather than a rights management, perspective. Or, maybe I am just an idiot and the answer is out there and I couldn't figure it out. Either way as I am probably not the only clueless person, I'd thought I'd share. Thanks Manuel for you help, Patrick
Hello Patrick,
You can disable comments for your page by following these steps: * Edit the document's access rights (go to your page, scroll over "Edit" -> click "Access Rights") * Click on the Users radio button * Click on the Comment checkbox for Unregistered Users (first row) twice until you see a red Deny icon
On 04/21/2014 12:55 PM, Patrick Masson wrote:
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/Howtodisablecommentsandattachments
and the same question from someone else (but with no response yet)...
* http://www.xwiki.org/xwiki/bin/view/FAQ/Howcancommentsbedisabledforasinglepa...
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: [email protected] <https://www.getonsip.com/[email protected]> Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org>
-- || | | |||| || || | |||| ||| | ||| 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: [email protected] <https://www.getonsip.com/[email protected]> Ph: (970) 4MASSON Em: [email protected] <mailto:[email protected]> Ws: www.opensource.org <http://www.opensource.org>
Thanks Patrick. FYI I’ve moved that FAQ page to the new FAQ system at http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+comments+be+disabled+for+a+s... Thanks -Vincent On 30 Apr 2014 at 14:41:30, Patrick Masson ([email protected](mailto:[email protected])) wrote:
Manuel Smeria (from the XWiki crew) provided the answer to my question I posted (thanks) and I thought I would pass it on to other newbies like me. Also I would be happy to add this to the documentation (FAQ) somewhere if folks think it is appropriate--just tell me where. I did post the response to the one reference I mentioned below: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments
While I could not find my answer in the documentation, it might have simply been due to my perspective of the problem, i.e. looking at this from a comments management, rather than a rights management, perspective. Or, maybe I am just an idiot and the answer is out there and I couldn't figure it out.
Either way as I am probably not the only clueless person, I'd thought I'd share.
Thanks Manuel for you help, Patrick
Hello Patrick,
You can disable comments for your page by following these steps: * Edit the document's access rights (go to your page, scroll over "Edit" -> click "Access Rights") * Click on the Users radio button * Click on the Comment checkbox for Unregistered Users (first row) twice until you see a red Deny icon
On 04/21/2014 12:55 PM, Patrick Masson wrote:
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/Howtodisablecommentsandattachments
and the same question from someone else (but with no response yet)...
* http://www.xwiki.org/xwiki/bin/view/FAQ/Howcancommentsbedisabledforasinglepa...
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: [email protected]
Ph: (970) 4MASSON Em: [email protected] Ws: www.opensource.org
-- || | | |||| || || | |||| ||| | ||| 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: [email protected]
Ph: (970) 4MASSON Em: [email protected] Ws: www.opensource.org _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (4)
-
Jeremie BOUSQUET -
Marius Dumitru Florea -
Patrick Masson -
vincent@massol.net