Sidebar Does not Show up on Ipad/iPhone

Hi.

The Sidebar in the Documentation Theme does not show up when the content/space is viewed using an iphone or iPad. Is there some way to ensure that the sidebar shows up regardless of browser type?

Thanks

Robin

1 answer

This widget could not be displayed.

Ok. Thanks.

Any idea where one might go to allow the LHS to at least show on mobile safari? I realize that it is not supported, however since this is a key navigation element, it would be nice make a quick change to see if it will render at all... Maybe something in the use-agent detection stuff?

Robin

I'm not too sure as I never tested it before. But if you want to try tweaking the documentation theme, you can do that by editing the Velocity template file. The documentation theme is actually part of Confluence bundled plugin. Go to <confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup and open atlassian-bundled-plugins.zip. Locate and open doctheme-x.x.x.jar file. The template file itself is main.vmd which resides in doctheme/decorators folder.

Thanks for the pointer. For anyone else willing to deal with the unsupported and somewhat strange behavior of enabling the sidebar on Mobile browsers, the file you are interested in is:

<confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup/[atlassian-bundled-plugins.zip]/[doctheme-x.x.x.jar]/doctheme/doc-theme.js

The adjust the logic or do something better around the code

if(DetectMobile()) {
AJS.$("#splitter-sidebar").hide();
} else {
...
}

Robin

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

459 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