I have created space for a portal in Confluence. When I add pages its shows comment section in every page. I want to disable it for specific pages. I tried adding {hide-comments} as markup but it's not working.
Hi,
Add this code to the top of your page:
{style}
div#comments-section.pageSection
{
display:none;
}
{style}
Have a nice day :)
Laurent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alok,
I think you'll find this blog useful as it details how to do what you are trying to achieve, (more or less): http://davidsimpson.me/2011/01/23/more-flexible-commenting-in-atlassians-confluence/
All the best,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John, I went thru this page and tried macros. But there is no way I was able to disable the likes and comments sections for specific pages. This allows to enable or disable for space not pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.