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")
#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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,901 views 27 12
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