Labels within 1 space
Asked by charleslcso:

Hello,

I would like to set up labels gathered from each Confluence page in a particular way. Can someone guide me on this? Much thanks!

Each page (within the same space) has its own unique labels.

![Screen Shot 2024-08-26 at 10.52.05 PM.png](/t5/image/serverpage/image-id/343862iDC8030FB2A2EDD50/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.52.05 PM.png")![Screen Shot 2024-08-26 at 10.52.14 PM.png](/t5/image/serverpage/image-id/343861i695B8EB9EFC44641/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.52.14 PM.png")![Screen Shot 2024-08-26 at 10.52.23 PM.png](/t5/image/serverpage/image-id/343863i4ACBD0F9190E8FDE/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.52.23 PM.png")

Using the Labels List macro, it displays all the unique tags from all the pages within 1 space. Nice.

![Screen Shot 2024-08-26 at 10.51.54 PM.png](/t5/image/serverpage/image-id/343860iA8571F0A96394E2E/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.51.54 PM.png")

Now, clicking on a particular tag will display the related page, with Related Labels on the right hand side.

![Screen Shot 2024-08-26 at 10.51.27 PM.png](/t5/image/serverpage/image-id/343864iE7FE8047147537A5/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.51.27 PM.png")![Screen Shot 2024-08-26 at 10.51.44 PM.png](/t5/image/serverpage/image-id/343865iA8C764FC6B8820D7/image-size/large?v=v2&px=999 "Screen Shot 2024-08-26 at 10.51.44 PM.png")

Now, is it possible to have labels from all pages displayed on the right hand side? This means the Related Labels will display:

p1-tag1, p1-tag2, p1-tag3, p2-tag2, p2-tag3, ... , p3-tag1, p3-tag2, p3-tagN

on every Labelled content page?


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Hi [@charleslcso](/t5/user/viewprofilepage/user-id/748616)

You can play with the 'related labels' macro and the page layout to put the 'related labels' in the right most column of the page. That may get what you are looking for.

![free_candy.png](https://community.atlassian.com/t5/image/serverpage/image-id/343963iFFDE8248F45E8DF8/image-size/large?v=v2&px=999 "free_candy.png")

comments: author: charleslcso
body: [@Shawn Doyle - ReleaseTEAM](/t5/user/viewprofilepage/user-id/815120) thank you for the pointer.

I'm on Confluence Server.

Quote: You can play with the 'related labels' macro

Based on the Edit macro function, it seems that only a Subset of labels is available. I need the Superset.

![Screen Shot 2024-08-27 at 10.07.51 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/343977i4204B6451987DC74/image-size/large?v=v2&px=999 "Screen Shot 2024-08-27 at 10.07.51 AM.png")

The Documentation for 7.19 is <https://confluence.atlassian.com/conf719/related-labels-macro-1157466895.html>, and the doc also mentions subset of labels.

Am I looking at the wrong place?

Also, how do I edit the layout of the page "Labelled content"?


author: Shawn Doyle - ReleaseTEAM
body: The superset would be just leaving that field empty.

For the editing the layout, I was referring to the pages where you want the related labels to appear and not the page that is produced when you click thru the label macro.


author: Nicolai Sibler
body: Hi [@charleslcso](/t5/user/viewprofilepage/user-id/748616) ,

it's not possible to configure the "Labelled conten" page out of the box. What's displayed on the right hand side are the labels that are used together with the given label on the same page(s). So this information is populated automatically.

Have you contacted the vendor of the plugin responsible for the "Tags"-Button in the sidebar? Maybe they've got an idea to achieve what you want.

Cheers,

Nicolai

Edit: I understand you'd like to have a list of all labels in the space. Why not have a Label List macro on every page or in the sidebar.

comments: author: charleslcso
body: Hi [@Nicolai Sibler](/t5/user/viewprofilepage/user-id/2649119)

As I'm on Server licence, of which has expired, I can't use the plugin anymore because I have not purchased it before Feb 2024.

The suggestion to have Label List macro on every page still won't display ALL labels within a space in the list.

May be I haven't been clear enough, the main reason why I want to have all the labels within a space to be displayed is I want to use +label_1 function to narrow down the related articles. For example, I can click on +label_1 from page_1, +label_2 from page_2, and page_1, page_2 will be displayed under Labelled content.

A tedious workaround I can think of, is to add a "common" tag such as AAA to ALL pages. I click on this common tag from the Labels List page, then all labels from the space will be displayed.

I can now proceed to narrow down the right pages by clicking +label on the Related Labels (right side of page)


author: Nicolai Sibler
body: What labels are missing in the Label List macro and how did you find out?


Tags: confluence-server

confluence-unknown-hosting-type

server

unknown-hosting-type