It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sidebar Does not Show up on Ipad/iPhone

Robin Cavanaugh Jul 25, 2012

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

0 votes
Amalia San Jul 25, 2012
Robin Cavanaugh Jul 25, 2012

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

Amalia San Jul 26, 2012

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.

Robin Cavanaugh Jul 26, 2012

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

873 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you