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

This widget could not be displayed.
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!

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

473 views 6 6
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