How Do I get the Documentation Sidebar to not Default to Hidden?

For some reason in Confluence, the documentation theme Sidebar is always hidden until the user hits the button at the top of the page. How do I get it to default to being showed upon login?

2 answers

1 accepted

This widget could not be displayed.
David Simpson Community Champion Jun 26, 2012

Edit the Custom HTML in the Confluence Admin section. In At the end of the HEAD add:

<script>
  AJS.toInit(function(){
    AJS.$('#splitter-button.collapsed').click();
  });
</script>

Thanks! This got the job done!

This widget could not be displayed.
The default behaviour as far as I know is for the sidebar to be shown, not hidden. I'd suggest seeing if any JavaScript errors occur during page load, which may relate to the sidebar. Are you seeing the same behaviour in all browsers? What version of Confluence / Documentation theme are you using?

Yep. It's in both Chrome and Firefox, and it's something that's affecting all of my users. Using Firebug, I'm not seeing any JS errors. So, I don't know what it could be. Do any of you know what it could be, or potentially any way to force the system to show it?

I'm using confluence 4.2.2 and Documentation version 4.2.2

I'm having the same issue, I think. I'm running versino 4.2.4 of Confluence and the Documentation theme. The theme works fine in IE8, but it looks like the initialisation script is not running in Firefox. I can see the Documentation Theme header and footer, but not he sidebar or the menu-bar button to turn the side-bar on and off. This is in Firefox 10.0.5. In the Firefox web console I can see the doc-theme.js script being loaded, but no errors from it.

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

341 views 2 5
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