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
It is not officially supported. Here's the improvement request: https://jira.atlassian.com/browse/CONF-19524
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.