BUG? Joomla 3 maximenu mobile plugin - TypeError
11 years 10 months ago #11297
by nielsg
BUG? Joomla 3 maximenu mobile plugin - TypeError was created by nielsg
Hi there,
since the latest Joomla! 3.1.1 Stable update (and also maximenu ck mobile plugin update) 2 things have happened,
the mobile menu for maxi menu does not show up anymore, and i get the following error on the frontend of the site.
TypeError: window.addEvent is not a function
This error results in the fact that i can not save articles in the frontend anymore, unless i turn of the mobile maxi menu plugin.
When the plugin is turned off, i get no errors and all works fine.
Maybe this can help solve the problem?
joomlacode.org/gf/project/joomla/tracker...racker_item_id=30393
<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($$('.hasTip'), {"maxTitleChars": 50,"fixed": false});
});
jQuery(document).ready(function($){
$('#maximenuck').MobileMaxiMenu({usemodules : 1,container : 'menucontainer',showdesc : 1,showlogo : 1,useimages : 1});
});
jQuery(document).ready(function (){
jQuery('select').chosen({
disable_search_threshold : 10,
allow_single_deselect : true
});
});
I hope to hear from you
thanks
since the latest Joomla! 3.1.1 Stable update (and also maximenu ck mobile plugin update) 2 things have happened,
the mobile menu for maxi menu does not show up anymore, and i get the following error on the frontend of the site.
TypeError: window.addEvent is not a function
This error results in the fact that i can not save articles in the frontend anymore, unless i turn of the mobile maxi menu plugin.
When the plugin is turned off, i get no errors and all works fine.
Maybe this can help solve the problem?
joomlacode.org/gf/project/joomla/tracker...racker_item_id=30393
<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
window.addEvent('domready', function() {
$$('.hasTip').each(function(el) {
var title = el.get('title');
if (title) {
var parts = title.split('::', 2);
el.store('tip:title', parts[0]);
el.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($$('.hasTip'), {"maxTitleChars": 50,"fixed": false});
});
jQuery(document).ready(function($){
$('#maximenuck').MobileMaxiMenu({usemodules : 1,container : 'menucontainer',showdesc : 1,showlogo : 1,useimages : 1});
});
jQuery(document).ready(function (){
jQuery('select').chosen({
disable_search_threshold : 10,
allow_single_deselect : true
});
});
I hope to hear from you
thanks
Please Log in or Create an account to join the conversation.
11 years 10 months ago #11311
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic BUG? Joomla 3 maximenu mobile plugin - TypeError
Hi
give me your url to see the issue
CEd
give me your url to see the issue
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
11 years 10 months ago #11321
by nielsg
Replied by nielsg on topic BUG? Joomla 3 maximenu mobile plugin - TypeError
Hey there,
the URL is www.science-in-water.com
I've turned on the mobile plugin again.. it's based on screen width.. so as soon as you make the screen smaller it should pop up in the top.
I did allready change
media/system/js/validate-uncompressed.js
with this: github.com/joomla/joomla-cms/blob/a3d79b...date-uncompressed.js
so the admin could work on the content in the frontend and save articles.
Only this didn't fix the mobile plugin.. it's still not showing and the error remains in the console.
cheers
niels
the URL is www.science-in-water.com
I've turned on the mobile plugin again.. it's based on screen width.. so as soon as you make the screen smaller it should pop up in the top.
I did allready change
media/system/js/validate-uncompressed.js
with this: github.com/joomla/joomla-cms/blob/a3d79b...date-uncompressed.js
so the admin could work on the content in the frontend and save articles.
Only this didn't fix the mobile plugin.. it's still not showing and the error remains in the console.
cheers
niels
Please Log in or Create an account to join the conversation.
11 years 10 months ago #11327
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic BUG? Joomla 3 maximenu mobile plugin - TypeError
your problem is that moootools is not loaded ...
the plugin maximenu mobile is not in cause. You must search why mootools is missing
the plugin maximenu mobile is not in cause. You must search why mootools is missing
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds