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
Accepted answer
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
    AJS.$('.page-metadata ul').append('<li><a href="#comments-section-title">'+AJS.$('#comments-section-title').text().trim()+'</a></li>');

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
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

473 views 3 18
Read article

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