Missing share button in custom theme

Does anyone know how to enable the share button on the top nav in a custom theme? Whenever we switch to the default theme, the share button appears but this doesn't happen in our custom theme.

I feel like I'm missing something in the atlassian-plugin.xml or something in the xml file is blocking it...

Anyone had this problem before?

2 answers

1 accepted

1 vote
David Simpson Community Champion Jan 14, 2013
Copy page.vmd from confluence-install/decorators/ (or similar) into your plugin, likely it will now resemble the default layout. Next, find the code that displays the share button. Apply this to your original page.vmd and the share functionality should (may) now appear. Of course, it could be a bit harder than that as I know little about your custom theme :(

Yup that did it! So I was missing the following code in the page.vmd

#if ($mode != "edit" && $mode != "edit-preview")
    #parse ("/decorators/includes/content-navigation.vm")

Thanks David!


The share button should be enabled by default as soon as you attach an email server to Confluence. There should be no property you have to set in order to toggle on this behavior. What custom theme are you using? Is it something that one of our experts developed or somehting your created in house?

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 ...

640 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