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!
...
#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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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é
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian, all
Please vote for https://jira.atlassian.com/projects/CONFSERVER/issues/CONFSERVER-58893 to get this addressed.
Thanks,
René
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.