logo maximenuck 64Maximenu CK

Maximenu CK is a Joomla megamenu dropdown with nice effects.

logo slideshowck 64Slideshow CK

Slideshow CK, nice effect with this slideshow responsive design.

logo accordeonmenuck joomlaAccordeon Menu CK

Accordeon menu CK is a joomla accordion menu with mootools effects.

logo template creator joomlaTemplate Creator CK

Template Creator CK is a tool to create your own Joomla! templates.

Welcome, Guest
Username: Password: Remember me

TOPIC: Error & Duplicate Code in Header?

Error & Duplicate Code in Header? 15 Jun 2017 13:48 #43014

I have installed MaxiMenuCK 8.2.3, MaxiMenuCK Params Admin 4.1.2, MaximenuCK Params Package 4.1.2, System MaxiMenuCK Mobile 2.0.17, and System MaxiMenuCK params 4.1.0.

I have spent days trying to get my development site dev.fearringtonfha.org to work without errors, and to get all my Joomla extensions up-to-date.

I am still getting an error message "ReferenceError: JCaption is not defined" in the following code from this page:
	<script>

jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });
jQuery(document).ready(function($){
                    $('#maximenuck193').MobileMaxiMenu({usemodules : 0,container : 'menucontainer',showdesc : 0,showlogo : 1,useimages : 0,menuid : 'maximenuck193',showmobilemenutext : 'default',mobilemenutext : 'Menu',mobilebackbuttontext : 'Back',displaytype : 'fade',menubarbuttoncontent : '',topbarbuttoncontent : '',uriroot : '',displayeffect : 'normal',menuwidth : '300',openedonactiveitem : '0'});});
jQuery(window).on('load',  function() {
				new JCaption('img.caption');
			});
jQuery(document).ready(function($){
                    $('#maximenuck193').MobileMaxiMenu({usemodules : 0,container : 'menucontainer',showdesc : 0,showlogo : 1,useimages : 0,menuid : 'maximenuck193',showmobilemenutext : 'default',mobilemenutext : 'Menu',mobilebackbuttontext : 'Back',displaytype : 'fade',menubarbuttoncontent : '',topbarbuttoncontent : '',uriroot : '',displayeffect : 'normal',menuwidth : '300',openedonactiveitem : '0'});});

It seems as though this code has some redundancy, and also seems to contain the statement "new JCaption(...." that is throwing the error.

As far as you can tell is this a setup error on my part, or what?

Thanks.
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 13:57 #43015

  • ced1870
  • ced1870's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 17504
  • Thank you received: 2232
  • Karma: 389
Hi
this is probably a cache problem. Try to disable and clear it and see if you still have the errors
CEd
Joomlack Webmaster and Developer
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 13:59 #43016

Have cleared browser cache (Firefox, Ctrl-F5) repeatedly. Doesn't help. No server caching enabled.
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 14:03 #43017

  • ced1870
  • ced1870's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 17504
  • Thank you received: 2232
  • Karma: 389
you can also see that the function "
function fetchMoreLatestEvents(modid, direction)" is also repeated multiple times

I was talking about the joomla cache in your website config. Please check :)
Joomlack Webmaster and Developer
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 15:22 #43018

screen.1.jpg


Caching is off.
Last Edit: 15 Jun 2017 15:31 by jimbrooking. Reason: Trying to add screen shot
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 15:24 #43020

Cache settings screen shot
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 15:34 #43021

  • ced1870
  • ced1870's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 17504
  • Thank you received: 2232
  • Karma: 389
as you can see this problem is not specific to me, do you see the same problem with other functions ?
Joomlack Webmaster and Developer
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 15:40 #43022

Sorry to bother you. No, JCaptions in the only remaining error. Previously had multiple error, likely caused by duplicate jQuery instances, but JQuery Easy plugin has apparently sorted that out.
The administrator has disabled public write access.

Error & Duplicate Code in Header? 15 Jun 2017 16:49 #43024

  • ced1870
  • ced1870's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 17504
  • Thank you received: 2232
  • Karma: 389
check your source code, you will see what I mean
yes in your console the JCatpion is the only error remaining and this is not related to maximenu

you can try to unpublish maximenu and see in your source code if the JCaption is still called and if you still have the error.
Joomlack Webmaster and Developer
The administrator has disabled public write access.
Time to create page: 0.215 seconds
Powered by Kunena Forum

Mentions légales

Site made by Cédric KEIFLIN

Privacy policy

Copyright © 2010 - 2015

http://forum.joomlack.fr is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Qui est en ligne

We have 263 guests and one member online