Displaying comment qty and link at top of page?

Is it possible to list the number of comments at the top of each page, with a link to the comment section (similar to the way the paperclip icon shows the number of attachments and links to the View Attachments page)?

2 answers

1 accepted

6 votes
David Simpson Community Champion Jan 02, 2012
This is a quick & dirty way to do something like what you want:
  1. Browse to Confluence Admin | Look & Feel | Custom HTML
  2. Click the Edit button
  3. Paste the following into At the end of the BODY
<script>
  AJS.toInit(function(){
    AJS.$('.page-metadata ul').append('<li><a href="#comments-section-title">'+AJS.$('#comments-section-title').text().trim()+'</a></li>');
  });
</script>

If you want it to show up before the attachments icon, swap append with prepend in the JavaScript above.

Thanks! That works perfectly.

Can you do that if you have Confluence On Demand (cloud) ??

thanks david , i use this but in mozilla browser its not supported its says its unauthorise something... this is my url https://www.yabeen.com

Oreng ans Spader Studio we are interior designers with good experiance,

please visit us: http://www.onsdstudio.com

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

301 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you