2
1
0

As the title says, how do you hide comments?

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Answer: Follow the directions here

      https://confluence.atlassian.com/display/CONFKB/How+to+disable+comments+in+a+Page

      You don't need to do the administrator part (the "cog icon"), so I copied from step (4) onward.

      1. Go to the page that you want to hide the comment
      2. Click edit on the page
      3. In the Confluence editor, choose Insert > Other Macros.
      4. Find and select HTML.
      5. Add the following parameter in the HTML Macro:

         

        <script type="text/javascript">
        AJS.toInit(function(){
        AJS.$('#comments-section').hide();
        });
         for (var i=0; i<nr_li; i++) {
            // if the element has the class fom 'clasa' parameter
            if(tags_li[i].getAttribute('class') == 'innerCell'){
                 tags_li[i].style.overflow = 'visible';
                    //tags_li[i].style.overflow-y= 'visible';
            }  
          }
        </script>
      6. Save the Page
      1. Matias Carrasco Kind

        This is very useful, Thanks!

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Hi,

      You have two alternatives:

       1. First alternative. Change file css:

      #comments-section

      visibility:hidden;

      }

      2. Second alternative to use jquery:

      $('.#comments-section').click(function() { $('.innerCell').css("overflow","hidden"); });

      Good luck;

      Annie Walmer webmaster fundraising ideas

        CommentAdd your comment...