Site Search


Welcome, Guest

Mobile menu items will not populate
(1 viewing) (1) Guest
  • Page:
  • 1


Posting guidelines
To help us help you faster please ensure that you include the following details in your forum post:
- A link to your site (you can create a support ticket if you need to provide us with confidential information.
- Please ensure that css and javascript compression is disabled in your template settings.
- Please ensure that you have checked the change log and your template and extension are up to date.
- Please search the forum to see if your answer has already been asked before.
- Please ensure that you only post your request in either the forum or ticket system but not both.
- Please only post in an existing thread if your issue is exactly the same as the one being discussed in the thread.

TOPIC: Mobile menu items will not populate

Mobile menu items will not populate 1 year, 4 months ago #61120

DESCRIPTION:
The mobile menu we use in version 2 of the Zen Grid Framework uses jQuery to load your menu items from the menu into a select box.

There are some known issues with certain minor versions of jQuery with this feature.


SOLUTION:
If you receive an error with the select menu not populating properly then please change the jQuery version to the latest possible to see if that fixes the issue.

In general you should n't receive this issue if you are using the framework however we have seen the issue appear on sites that also have JB Library installed and are using a minor version of jQuery.

In this case please unpublished or iuninstall JB LIbrary. That plugin is no longer needed for Framework v2 templates.
Creative Unique Minimal Joomla Templates

Re: Mobile menu items will not populate 11 months, 3 weeks ago #71839

Anthony

Please look at

ccslimited.info

I'm struggling to get the mobile menu populated
Using template JBPlatform

You need to hide the left-hand banner first (i'll try to make that automatic with css mediaqueries) before reducing window width

Regards

Re: Mobile menu items will not populate 11 months, 3 weeks ago #71850

Found it

In template.js you don't use #nav but #leftCol

Regards

Re: Mobile menu items will not populate 11 months, 3 weeks ago #71865

Glad you got it sorted. Thanks for letting us know.
  • Seth
  • OFFLINE
  • Moderator
  • Posts: 8401
  • Karma: 200
Internet Inspired! - Creative Websites (and freelance websmithing!)

Re: Mobile menu items will not populate 11 months ago #73514

Sorry - but hit same problem with another site, this time using JBCorporate.

I added alert(el.text()); before getSubMenu(el); in function jQuery(document).ready within template.js and I see all the menu items come up

But the #mobilemenu options are still empty (clue: I get the right number of them!)

Site is currently at

www.i-webdesigner.co.uk/jenjones

Thanks

Re: Mobile menu items will not populate 11 months ago #73595

Hi there,

Ive seen this happen with earlier versions of jQuery but 1.6 is normally fine.

Can you try changing the version to latest and see if that solves the issue?

Anthony
Creative Unique Minimal Joomla Templates

Re: Mobile menu items will not populate 11 months ago #73601

Anthony

I've tried setting JBCorporate to Latest-Google Only and it then uses

ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js

Then I saved the source, editted to use 1.7.2 min and 1.7.2 full but still menu not populated

AHAA!

Spotted that RedShop is using jquery.tools.min.js so I tried removing that
NOW IT WORKS!!

Does jquery.min.js contain all the functions of jquery.tools.min.js ??

Should I force JBCorporate to use FULL jquery.js ?
If so how ?

Re: Mobile menu items will not populate 10 months, 4 weeks ago #73602

Sorry - forget last question jquery.min is jquery without the CRLF's

Also found this quote
***
Tools.js is a UI framework similar to jquery ui, however it comes with jquery pre-included in it. If you include jquery tools.js, you dont need to include jquery.
***

So I told JBCorporate to use 'none' query lib and let RedShop include jquery.tools but this was bad - no mobilemenu at all!

Now telling JBCorporate to use latest jquery and REMOVE jquery.tools.min.js
This works - but will Redshop suffer?
Last Edit: 10 months, 4 weeks ago by richarddhill.

Re: Mobile menu items will not populate 10 months, 4 weeks ago #73607

Not sure if it will suffer but you basically only need one version of jQuery on the page and it needs to load before the other template scripts.

If you start seeing some oddities let us know and we will dig deeper for you.

Thanks
Creative Unique Minimal Joomla Templates
  • Page:
  • 1
Time to create page: 0.45 seconds