Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Missing share button in custom theme

calvin January 13, 2013

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 at David Simpson Apps
Atlassian Partner
January 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 :(
calvin January 14, 2013

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!

0 votes
Daniel Borcherding
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 13, 2013

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
TAGS
AUG Leaders

Atlassian Community Events