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

  • @v06 you started this discussion asking,

    how to disble my theme custom_index

    Now you say that you use basic_light, which does not use custom index. So what is your problem with mobilize?

  • i am using your basic_light and i also create new custom_index plugin(my_theme)...
    how to disable custom_index when using mobilize
    i try this...
    if (!elgg_is_active_plugin('custom_index')) {
    elgg_unregister_plugin_hook_handler('index', 'system', 'mytheme_index_handler');
    elgg_register_plugin_hook_handler('index', 'system', 'index_handler');
    }
    and
    if (!elgg_is_active_plugin('custom_index')) {
    elgg_unregister_plugin_hook_handler('index', 'system', 'basic_light_index_handler');
    elgg_register_plugin_hook_handler('index', 'system', 'index_handler');
    }

  • sorry for my english @PR

  • @v06 You created a new plugin named "my_theme", right? In this theme you replace the default index page, right?

    If that's the case, in mobilize you have to unregister the plugin hook handler that you add in my_theme. So if the plugin hook in my_theme looks like this,

    elgg_register_plugin_hook_handler('index', 'system', 'some_name_index_handler');

    In mobilize you just unregister the same handler,

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

     

  • i was moved my_theme into custom_index.....
    custom_index start.php
    elgg_register_plugin_hook_handler('index', 'system','custom_index');
    changed into mobilize start.php
    elgg_unregister_plugin_hook_handler('index', 'system', 'custom_index');
    sorry....not working....

  • i also try this...

    when i actived custom_index i will be use my_theme ...

    so i was moved files custom_index....

    i also try...

    if (!elgg_is_active_plugin('custom_index')) {
                 elgg_unregister_plugin_hook_handler('index', 'system', 'custom_index');
                 elgg_unregister_plugin_hook_handler('index', 'system', 'my_theme_index');  
                 elgg_register_plugin_hook_handler('index', 'system', 'index_handler');
            }

    Not working.....

  • @v06 Use the default code in mobilize but remove the condition,

    //if (!elgg_is_active_plugin('custom_index')) {
        elgg_unregister_plugin_hook_handler('index','system','custom_index');
        elgg_register_plugin_hook_handler('index', 'system', 'index_handler');
    //}

  • how to adjust for (mobilize) logo.....

    i try this

    views->defalut->css->mobilize.php

    change header.img logo....

    Not working...

    i have another question

    mobilize supports only elgg 1.8 or planning for 1.9?

    thanks

  • @v06 Find and edit .elgg-heading-site img {

    Mobilize will be updated for the 1.9.

  • .elgg-heading-site img {
    display: block;
    position: relative;
    float: left;
    margin: 0 auto;
    padding-top: 5px;
    height: auto;
    width: auto;
    }
    i want increase a logo height...i am using basic_light

  • @v06 Just override the current logo.png with your own and edit css to your liking.

    Editing excisting css is basic, you should learn how to use an inspector to locate which part to edit.

  • I cannot get the main navigation menu to work. If you select any navigation tab, it just goes to the home page. The sub menu works perfect. Any suggestions? I used Easy them and it didnt work. I changed to dark grey and still face the same issue

  • @Valentine Masina

    You do mean the navigation dropdown menu right? It works fine here.

  • Ok Per Jensen thanks a lot. I think it is just the browser that I am using. It is called Opera Mini and I am using it on a Samsung GT5330 phone. It is just a matter of browsers. When I use the default Android browser on the device... it just works perfect. Thanks a lot.

    What just surprises me is that the submenu works fine on the opera browser but the the main navigation doesn't. Certainly looking forward to enjoying more from the elgg community. Thanks sir.

    One more thing, can i get to put navigation tabs, like the ordinary tabs on the desktop site on this plugin. How can I input the html for the header menu to be press buttons. I just have six navigation tabs so just thinking of putting them instead of the drop down menu.

    I really follow this plugin and would like to know how to customize it fully especially on navigation. Whilst I appreciate the fact that you are busy man, I am just asking for your help in customizing the navigation only. Thanks a lot. Your support is always appreciated.

  • @Valentine Masina

    Try this. Open mobilize/views/mobile/page/elements/head.php and delete the first js function.

    Then open mobilize/views/mobile/css/mobilize.php. Find and delete,

    .elgg-menu-site li{
        display: none;
    }

    Now the site menu is visible and you just have to work on the css.

  • great plugin, but ajaxified comments and likes don't work.. :\

  • sorry for disturb @pr

    also changed css file...but logo not display correctly...

    using drakgray(mobilize logo) working good....but when using basic_light facing this problem

  • @v06 When the logo is not displayed as you want, that's where you have to edit the CSS.

  • Ok please tell me here @Per Jensen, If I use a theme like dark grey, I can see the search box appearing on the mobilzed views but some themes do not have the same functionality even the elgg default theme. Can you advise me how to insert a search box onto my header like on dark grey. Any suggestions? Thanks in advance

  • In mobilize start.php remove this line,

    elgg_unextend_view('page/elements/header', 'search/header');

  • Hi @Per Jensen,

    My menu Mobilize do not show for default of my theme .

    My standard mobilize menu does not show all options in my theme's default menu.

    Thanks !

  • @juniorhallak

    Keep mobilize at the bottom of the plugin list.

  • @Per Jensen, Sorry I realized what makes opera mini not fully compatible with many java script applications or websites on mobile phones. It is an issue of timeout on slow connections so can you please show me where you increase timeout of the mobilize headings if that is relevant (possible). It is a bad browser but unfortunately many users use it and we have to go where our market is. You can check these documentations out here http://dev.opera.com/articles/opera-mini-and-javascript/ and se what they say.

    I see even hype theme and other responsive themes have the same compatibilty issue with that browser. Any Js intensive website will be hard to view on the browser. They even say javascript behavior on their platform can behave unexpectedly so I had to swallow that. But thanks this is a great plugin especially with a generation of mobile users like us, you can't have a website or any application only designed for desktops. Thanks

Project Info

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-5-24
  • Downloads: 22790
  • Recommendations: 103

Other Projects

View Per Jensen's plugins