How to make the documentation theme sidebar show up when rendering page on iPad?

Using safari or chrome, the sidebar doesn't show up when viewing the page (regular browser mode) on an iPad.

1 answer

1 accepted

This widget could not be displayed.
Joe Clark Atlassian Team Oct 16, 2012

I did some digging in the Doc Theme source code and found that the sidebar is explicitly disabled for any mobile user agent string (iPhone, iPad, Android, Blackberry, etc.). Presumably this is because the original author of the theme couldn't get it to work. Here's the offending code in doctheme.js:

// Don't display the sidebard on the iPhone. Will need to support other phones in the future.
if(DetectMobile()) {
    AJS.$("#splitter-sidebar").hide();
    AJS.$("#doctheme-anchor").hide();
}

If you're feeling adventurous, try removing this code from the bundled doc theme (unjar -> edit -> re-jar -> install via plugin manager) and see what happens?

I only care about this for my OnDemand instance, so it has to be something that is shipped. Specifically, I would think tablet support (larger screen) should be highest priority to fix.

Joe Clark Atlassian Team Oct 16, 2012

Raised https://jira.atlassian.com/browse/CONF-26916 - please vote/comment/watch.

Joe Clark Atlassian Team Oct 16, 2012

I found https://jira.atlassian.com/browse/CONF-21524 but it was "Closed: Won't Fix" back when we didn't support mobile browsers.

I'll raise a new improvement/bug on jira.atlassian.com and see if I can get the bug-fix team to have a look at it.

Done. Thanks :).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

208 views 2 4
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