Hi @all,
we have created a manual with confluence. On the first page we would like to show the sum of all pages.
Eg this manual has 110 pages
How can I display this number?
You will need a little bit of code to do this. You should be able to do it in a "user macro" though and I'd use the one in the library - sample code is at https://confluence.atlassian.com/disc/shared-user-macros/count-pages-in-space (may need adjusting for later versions of confluence, but you'll get the idea)
Thank you for your help. This macro I have already found, however, is pointed out here that this is very performance-heavy and at the last entry someone has written that afterwards its side has not worked anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok, i think it works, but only with an parameter. i think this parameter is not the right one (but it works). Do u know what the right parameter is ?
## @param spaceKey:title=Space Key|type=string $spaceManager.findPageTotal($space)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.