Global/Space Logo link

Is it possible to change the link assigned to the Global/Space Logo ? Right now it goes back to the default space within Confluence but I want to make it go to an outside page.

3 answers

This will require a modification to the source files (Confluence uses Velocity). One place that I can think of is inside the <confluence_installation>/confluence/template/includes/macros.vm.

Replace the line

<a href="$req.contextPath/display/$spaceKey">

with what you need.

 
0 vote
David Simpson Community Champion Aug 23, 2011
I think also in <confluence_installation>/confluence/decorators/main.vmd ...and the equivalent for each theme installed (if necessary) Maybe replacement of the href attribute b JavaScript would be easier?

I encountered the same problem and fixed it by including some Javascript. Go to the Confluence Administration pages -> Custom HTML and add the following snippet to the "At the end of BODY" section:

<script type="text/javascript">
AJS.$('div#top_logo_wrapper > a').first().attr("href", "/confluence/homepage.action");
</script>

This works in an installation with the RefinedWiki theme.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

666 views 21 11
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you