{builder-logo} Macro
Description
This macro displays the logo applicable to the location being viewed:
- If used within a Space, the Space logo is shown
- If used anywhere else, the Global logo is shown
- If no logo has been defined for a Space, the Global logo is shown
- If the Space logo has been switched off, no logo is shown in the Space
- If the global logo has been switched off, no logo is shown in other locations (and also in any spaces that were using the default Global logo)
Usage
{builder-logo}
Parameters
The "Ver" column shows which version of Theme Builder the parameter became available in.
| Property | Required | Default | Notes |
|---|---|---|---|
| global | |
n/a | Display the global logo regardless of which space is the local context. |
Examples
Basic Use
Simply add the macro to any panel in theme configuration to display the logo in that panel:
{builder-logo}
Linked Logo
To link the logo to the home page, wrap it in the menulink macro as shown below:
{menulink:home}{builder-logo}{menulink}
If viewed within a Space, the logo will be linked to the Space home page. If viewed anywhere else, it will link to either:
- The user home page if defined in that users' preferences
- The site home page if defined in General Configuration
- The Dashboard (default)
CSS Customisation
To follow.
Hints and Tips
The Space logo is uploaded using the "Space Logo" option in Space Admin. You can also choose to use the default logo (i.e. the Global logo) or even switch off the logo within the space.
Similarly, the Global logo is uploaded using the "Global Logo" option in the Adminisration Console. If you turn off the Global logo, then any Spaces that are set to use the default logo will no longer display a logo.
Frequently Asked Questions
None at present.
.png)








Comments (8)
Apr 02, 2009
Steeve Cayla says:
Is there any way to disable the tooltip "click this logo to return to the home p...Is there any way to disable the tooltip "click this logo to return to the home page" ? There is no link behind my logo.
Apr 02, 2009
Alain Moran says:
Unfortunatley there isnt any way to do that at the moment, however that tooltip ...Unfortunatley there isnt any way to do that at the moment, however that tooltip really belongs on the link itself rather than the logo, so for 3.4.0 I can update the title parameter to state 'Space Logo' ... will that work for you?
Apr 03, 2009
Antoine Gehl says:
We have found this jQuery workaround to resolve our problem : $(".builder-logo")...We have found this jQuery workaround to resolve our problem : $(".builder-logo").removeAttr("title");
Thanks Alain.
Apr 04, 2009
Alain Moran says:
I've actually gone the whole hog and given the logo macro a tooltip parameter fo...I've actually gone the whole hog and given the logo macro a tooltip parameter for 3.4.0 ... glad to hear you have found a temporary workaround though.
Nov 18, 2009
michael.roytman@bcbsa.com says:
builder-logo macro does not seem to work with the latest Confluence 3.1-beta, du...builder-logo macro does not seem to work with the latest Confluence 3.1-beta, due to the fact that ResourceManager class has been removed from 3.1 code.
Any thoughts or updates?
Nov 19, 2009
Alain Moran says:
Fixed in Builder 4.0.0Fixed in Builder 4.0.0
Nov 18, 2009
michael.roytman@bcbsa.com says:
The problem was still occuring in 3.4.0-M4-conf3: Unable to render content due t...The problem was still occuring in 3.4.0-M4-conf3:
Unable to render content due to system error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.adaptavist.confluence.builder.macros.LogoMacro': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: com/atlassian/confluence/util/ResourceManager
is there a later milestone 3.4 release or should we try 4.0: http://www.adaptavist.com/download/attachments/36570194/adaptavist-plugin-themeBuilder-4.0.0-M5-conf3.jar
Thanks.
Michael
P.S. We used to be paying TB and Bubbles customers, nice to see it being made free.
Nov 19, 2009
Alain Moran says:
The line in the M5 release notes that you are most interested in is:\ Basic c...The line in the M5 release notes that you are most interested in is:\