Shape 5

Joomla Templates => Life Journey - Club => : edaceituno May 19, 2011, 02:55:20 PM



: Mobile menu not appearing in Joomla 1.6
: edaceituno May 19, 2011, 02:55:20 PM
Seems the main menu is not being displayed at all on the mobile version of the site. I went looking into the code; seems the problem occurs in the mobile_device_menu.php file, inside the foreach loop:

:
if ($mymenu_rows = $database->loadObjectList() ) {
 
foreach($mymenu_rows as $mymenu_row) {

if ($mymenu_row->type != "separator" && $mymenu_row->link != "javascript:;") {
if ($mymenu_row->access <= 0) {
$mymenu_content .= " <option value=\"".$mymenu_row->link."\" >$mymenu_row->name</option>\r";
}
if ($mymenu_row->access > 0 && $user->gid > 0) {
$mymenu_content .= " <option value=\"".$mymenu_row->link."\" >$mymenu_row->name</option>\r";
}
}
    }

    $mymenu_content .= "</select></form>";
        return $mymenu_content ;
    }

Here is the link to the site if needed: www.cristoeselrey.org/index.php (http://www.cristoeselrey.org/index.php)


: Re: Mobile menu not appearing in Joomla 1.6
: mikek May 20, 2011, 08:13:11 AM
Hello,

I am sorry I am not able to replicate the problem locally. If you can please private message me ftp access and super admin access I can look into this for you.


: Re: Mobile menu not appearing in Joomla 1.6
: edaceituno May 25, 2011, 11:49:23 AM
Thanks for solving the problem mitek...

It appears in Joomla 1.6 they changed the names of certain database fields. Once you update the mobile_device_menu.php file with the new field names, it should working again.


: Re: Mobile menu not appearing in Joomla 1.6
: bradwmson June 17, 2011, 01:55:09 PM
I'm having the same problem. I updated the database field names as best as I could determine in mobile_device_menu.php and got the menu to appear, but it doesn't populate.

Could someone post the fix to this one so I can tweak my file?

Thanks, Brad


: Re: Mobile menu not appearing in Joomla 1.6
: mikek June 18, 2011, 07:27:29 AM
Hello,

We actually just discovered a new issue with the mobile menu and should have an updated version in the next few days. Sorry for the delay. I will update this topic when the new file is ready.


: Re: Mobile menu not appearing in Joomla 1.6
: bradwmson June 18, 2011, 08:52:19 AM
Sounds good - thanks for working on it!


: Re: Mobile menu not appearing in Joomla 1.6
: mikek June 22, 2011, 08:10:07 AM
Hello,

Please replace the file in the libs folder of the template with the attached file. It will fix these issues for you.