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
Answer accepted
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")
#end

Thanks David!

Hello,

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

276 views 2 10
Read article

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