Summary | Menu items not available from iPad (Others & Cog) |
Queue | Horde Groupware Webmail Edition |
Queue Version | 5.0.2 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | horde (at) agotnes (dot) com |
Created | 01/06/2013 (4514 days ago) |
Due | |
Updated | 07/18/2013 (4321 days ago) |
Assigned | 01/07/2013 (4513 days ago) |
Resolved | 07/18/2013 (4321 days ago) |
Milestone | |
Patch | No |
State ⇒ Resolved
icon and it's alternate text, but I don't really care.
commit 3bb702b55f2783084ad97a2a8e23e41337d07b59
Author: Jan Schneider <jan@horde.org>
Date: Thu Jul 18 15:23:01 2013 +0200
[jan] Make Others and cogwheel menu entry available on iOS (
Bug #11937).framework/Core/lib/Horde/Core/Topbar.php | 2 +-
horde/docs/CHANGES | 1 +
horde/js/topbar.js | 12 ++++--------
horde/package.xml | 4 ++--
horde/templates/tree/menu.html.php | 6 +-----
horde/themes/default/screen.css | 5 +++++
6 files changed, 14 insertions(+), 16 deletions(-)
http://git.horde.org/horde-git/-/commit/3bb702b55f2783084ad97a2a8e23e41337d07b59
supplied with iOS - you can't supply your own.
WebKit being the base of both Chrome and Safari I imagine it wasn't
too hard for Google to release Chrome for iOS by wrappering the WebKit
rendered supplied by Apple, however, the rendering engine for both
Safari and Chrome is identical on iOS (only) :)
Google Chrome browser for IOS. The Other and Cog menu are not
working so it's not specific just to mobile Safari (or Chrome uses
something in IOS in common with mobile Safari)
main menu. this will at least allow my
ipad users to be able to use horde in dynamic mode and have access to
their preferences. adding the url field
to the preferences array causes the <a /> tag to be inserted via
templates/tree/menu.html.php (I'm assuming) in any event this works
for now.
'preferences' => array(
'name' => _("Preferences"),
'status' => 'heading',
'url' => 'https://yoursite.example.com',
),
'gp' => array(
'fileroot' => '/tmp',
'name' => _("Global Preferences"),
'status' => 'active',
'menu_parent' => 'preferences',
'url' => 'http://yoursite.example.com/services/prefs.php?app=horde',
'icon' => ''
)
...
<div class="horde-point-center">
<a class="horde-mainnavi" href="">
<span class="horde-point-arrow">▾</span>
Others
</a>
</div>
And the menu Item is then accessible from Iphone/Ipad
I unfortunately have no idea where the code to generate the html for
the menu resides in horde. I simply copied the html from one of the
horde pages and made the addition above to see if it would work. Maybe
this will help one of the Devs work around the mobile safari
weirdness. Or if someone can tell me where to start looking in the
source for how to fix the rendering myself I'll try that as well.
Google Chrome browser for IOS. The Other and Cog menu are not working
so it's not specific just to mobile Safari (or Chrome uses something
in IOS in common with mobile Safari)
Just checked - if I set the login mode manually to 'Dynamic' on the
iPhone the issue manifests there in the exact same manner as on the
iPad, so with regards to testing / verifying without an iPad an iPhone
definitely works - I assume that an iPod Touch with a recent iOS
version (I run the latest on both pad and phone) will do the same.
Modified horde/config/registry.php for the 'others' entry as follows;
Changed 'status' to 'active' rather than 'heading'
Added an 'others-menu' block which just pointed at 'nag' for testing
The menu item is now accessible from the iPad, the drop-down works
correctly and also selecting the item takes me to 'nag' as expected.
So the 'heading' setting generates HTML which the iPad doesn't like,
i.e. the missing <a> tag or an issue with the <span> tag. Not sure
which.
That probably takes it to the end of my web-dev skills - I'm not sure
what the options are for changing the 'header' HTML generated whilst
retaining the intent of it...
State ⇒ Assigned
missing (by design) from the 'Others' and 'Cog' icons as they don't
implement an app which can be linked to directly.
In the Elements browser under the horde-navipoint Div;
<div horde-dropdown>
<li>
<div horde-point-center>
<a horde-mainnavi> <----- missing for Others and Cog,
definitely there for Notes and Mail and Calendar
Tried to add an 'app' entry in Registry.php for Others, didn't seem to
generate an <a> tag, more digging required, hints welcome ;)
Also tried to remove a couple of menu items from the topbar by
uncommenting them from registry.php to see whether this would help,
i.e. one can only have so many menu items on an iPad - made no
difference.
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Menu items not available from iPad (Others & Cog)
Type ⇒ Bug
Priority ⇒ 1. Low
(Dynamic view)
I can't get to the 'Others' and the 'Cog icon' menu items off the menu
bar at the top of the web page, they simply do not seem to be
clickable items like the other menu items are.
From other web-browsers (Safari/Chrome on Mac, IE on Windows) these
work fine. It also works fine if I set the user agent to imitate an
iPad from Safari on OSX.
This stops me from getting to the Horde config from the iPad.
I raised this on the Dev list and have been requested to debug as devs
don't have access to iPads, this defect is raised to track the issue
and possible patches I may come up with.