Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sidebar Does not Show up on Ipad/iPhone

Robin Cavanaugh July 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
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.
July 25, 2012
Robin Cavanaugh July 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
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.
July 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 July 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
TAGS
AUG Leaders

Atlassian Community Events