Mobilize - Mobile plugin v2013.07.11

Release Notes

Installation:

1. Deactivate previous version if any

2. Delete entire folder

3. Upload this version of mobilize and activate

Changes:

- Updated to Elgg 1.8.16

  • Can not activate.  Usining the latest version of elgg with the 'Proskin' theme.

     

    When I go into plug in setting and try to save I get;

     

    Fatal error: Call to a member function setSetting() on a non-object in /home1/thetruth/public_html/mod/Mobilize_1.8/actions/settings.php on line 10

  • Just went onto my site on a mobile device and it's working so I don't understand the error.  I don't see a button to log out on your mobile version.  Great job so far though!  Keep up the good work.

    The Truth

  • css fix in basic_light theam please

  • @The Truth You uploaded the wrong folder. Upload folder mobilize, it's inside mobilize_1.8.

    @mariano Could you elaborate please.

  • Hello - great plugin! I have a minor visual problem on a 3.5" screen in portrait mode. The website title at the top, blue section of the screen overlaps the navigation drop-down. Other than making code tweaks and creating an upgrade hassle moving forward, is there any other way to resolve this UI issue? Thx!

  • OK, so for now, I've modifed the following file:

    /elgg-1.8.16/mod/mobilize/views/mobile/css/mobilize.php line 156

    Changed font-size from 1.2em to 0.8em. :)

    This makes the site title text smaller so it no longer overlaps the top right navigation drop-down.

    Could be an option in the admin menu so folks who don't like to poke around PHP code can make this change easier and without have a site logo. :)

    Cheers!

  • @Rockman Thanks for posting this, will be fixed in next release.

    Github issue

  • Would it be possible to make it compatible with the widget-manager included custom index?

    e.g. this one:

    http://community.elgg.org/plugins/384604/4.3/widget-manager

    So far it keeps the two or three coloumn layout and thus makes the widgets look really squashed on a small screen.

    Thanks, and great work so far!

  • How do i make it so that it only mobilize's for mobile phones but and not ipads and tablets..???

     

  • Now one more thing cause I havent been able to fix it but how do I change it to have my own custom 

    <link rel="apple-touch-icon" href="/images/icon.png"/>

    Cause right now it shows a "E" when using as bookmark logo!

  • Nevermind finally got it work by changing the homescreen png

    Thanks...!

  • Ok found one more problem with mobilize being bookmarked on ipod & iphones..!

    First loaded on safari works fine but once you save as bookmark icon on homepage and load from homepage it goes to a smaller height similar to iphone 4.

    Did search on issue thinking it was a iphone issue but only does it on mobilize sites.

    Came across and webpage containing similar problems and had a code for js file on there don’t know if it would help on this pluggin. 

    http://www.kendoui.com/forums/mobile/general-discussions/issue-with-iphone-5-screen-size-and-home-screen-app.aspx

  • --SORRY I'M IMPATIENT WHEN IT COMES TO FIXING STUFF--

    Changed the meta tag in the meta.php file too

    <meta name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)" />

    Fixed the issue and works great now..!  Hope it helps others.

  • IS it possible to have mobilize start with Activities page and forget custom index. Cause i'm using Widget Manager custom index and it doesn't work with mobile devices looks all out of order.

  • @LT Don't really know widget manager. I guess you can unregister widget manager index hook in mobile view. As it is now custom_index is unregistered, just replace it.

  • @LT I see. Something seems to happen when you in widget manager select widget layout "Wide middle column". Try to select default layout, and the widgets order below each other as they should in mobile view.

    You have to ask the plugin author how to fix it.

     

  • Thats the thing I want to have that index page for desktop users but dont want it viewed on your pluggin so is there a way to make the moblie pluggin start page as activities instead of default index.

  • @LT Did you try the solution I already mentioned?

    elgg_unregister_plugin_hook_handler('index', 'system', 'widget_manager_custom_index');

  • Yes installed it worked good thanks..!

  • Ok @gilie checked out on desktop not working!  Works great for mobile devices takes custom index off but it all takes it off on desktops.  Need to remove on just the mobile side.

    Did i place the hook in wrong area? /mobilize/start.php

  • @LT Yes, just below elgg_set_viewtype('mobile');

  • Hmm, I added this under elgg_set_viewtype('mobile') in mobilize's start.php

    if (!elgg_is_active_plugin('widget_manager')) {
                elgg_unregister_plugin_hook_handler('index', 'system', 'widget_manager_custom_index');
                elgg_register_plugin_hook_handler('index', 'system', 'index_handler');
    }

    (right under the similar part with the 'custon_index' plugin check)

    Which I assumed would be doing what you are suggesting (e.g. checking if widgetmanager runs and in that case unload the widget manager's custom index and load the regular one instead).

    However when I navigate on my page with the firefoxOS simulator (HTML5 browser) it still displays the regular widget manager index that has all the coulums messed up.

    P.S.: menu_builder plugin doesn't seem to be compatible with it either.

  • Delete "!".

    menu_builder: As I've already indicated, I do not know all plugins. Every time issues with a new plugin pop up, I'll have to delve into the codes to find out how it works.

    I do not have time to do it and besides, it's not the best solution. I would come up with a fix, but what's needed is a long term solution. Instead, you should ask the plugin author whether it's possible to work something out. They should be interested in thinking mobile users into their work.

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 22223
  • Recommendations: 107

Other Projects

View Per Jensen's plugins