Forum Support

Shape 5
March 28, 2024, 08:07:58 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mobile menu not appearing in Joomla 1.6  (Read 645 times)
edaceituno
Jr. Member
**
Offline Offline

Posts: 5



« on: 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:

Code:
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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
edaceituno
Jr. Member
**
Offline Offline

Posts: 5



« Reply #2 on: 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.
Logged
bradwmson
Jr. Member
**
Offline Offline

Posts: 24



« Reply #3 on: 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
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #4 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
bradwmson
Jr. Member
**
Offline Offline

Posts: 24



« Reply #5 on: June 18, 2011, 08:52:19 AM »

Sounds good - thanks for working on it!
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #6 on: 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.
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.