I'd like to give each of our users to give a list of the pages created - only the pages, not comments, attachments etc.
User macro for the display of all content works, but how restrict it to content-type page?
## Macro title: Content by current user
## Body Processing: Escaped
<ac:structured-macro ac:name="content-by-user">
<ac:parameter ac:name="">
<ri:user ri:userkey="${action.authenticatedUser.key}"/>
</ac:parameter>
</ac:structured-macro>
This should work:
## Macro title: Pages by current user ## Body Processing: Escaped <ac:structured-macro ac:name="content-by-user"> <ac:parameter ac:name=""> <ri:user ri:userkey="${action.authenticatedUser.key}"/> </ac:parameter> </ac:structured-macro> <script> AJS.toInit(function() { jQuery(".grid").find("span.icon:not([title*='age'])").parent().hide(); }); </script>
There will be a few empty spaces, but that can't be helped; since Confluence doesn't support filtering by type, you have to use some javascript magic to filter the results to show only pages.
Hi Anne, sorry I saw your question earlier, but didn't get a chance to respond. Give me a little bit of time an I'll update the macro.
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.