Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to display space logo by user macro

Hi Community,

we are going to display a list of spaces, filtered by category as mentioned here. The macro code given there is working well (Ver 6.6)

As we're using descriptive icons along with spaces, I want to display an ordered list of spaces just as it's looking in the "Space directory"  Have searched the web as well as Atlassian community but didn't find any hints. 

Many thanks in advance!

1 answer

...

#foreach ( $space in $spaces )

...

    $spaceManager.getLogoForSpace($!space.key).getDownloadPath()

...

#end

...

Hi Dmitry,

I tried

<td class="confluenceTd"><img class="space logo" width="32" height="32"
src="$spaceManager.getLogoForSpace($!space.key).getDownloadPath()"/> <a  href="$req.contextPath$space.getUrlPath()">$space.getName()</a></td>

 I get the space name and link, but the for the logo I only get the "image not found icon".
Do you have an idea?

Hi Florian, Dmitry

Download path would require the users to have access to the space for download the logo still.

I.e. I am facing the same issue and try to find a way how the logo could be displayed to users that don't have access to the respective space.

Anyone any idea?
Thanks,

René

Hi René,

sorry, I didn't get any further with this.

Even though I have access to the spaces, I can't get the logos.

Hi Florian, all

Please vote for https://jira.atlassian.com/projects/CONFSERVER/issues/CONFSERVER-58893 to get this addressed.

Thanks,

René

Like Florian Luber likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you