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

This widget could not be displayed.
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) ??

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

847 views 8 13
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