Kunena Menu
Error & Duplicate Code in Header?
- jimbrooking
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
9 years 5 months ago #43014
by jimbrooking
Error & Duplicate Code in Header? was created by jimbrooking
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:
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.
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:
Code:
<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.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #43015
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Error & Duplicate Code in Header?
Hi
this is probably a cache problem. Try to disable and clear it and see if you still have the errors
CEd
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
Please Log in or Create an account to join the conversation.
- jimbrooking
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
9 years 5 months ago #43016
by jimbrooking
Replied by jimbrooking on topic Error & Duplicate Code in Header?
Have cleared browser cache (Firefox, Ctrl-F5) repeatedly. Doesn't help. No server caching enabled.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #43017
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Error & Duplicate Code in Header?
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
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
Please Log in or Create an account to join the conversation.
- jimbrooking
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
9 years 5 months ago - 9 years 5 months ago #43018
by jimbrooking
Replied by jimbrooking on topic Error & Duplicate Code in Header?
Last edit: 9 years 5 months ago by jimbrooking. Reason: Trying to add screen shot
Please Log in or Create an account to join the conversation.
- jimbrooking
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
9 years 5 months ago #43020
by jimbrooking
Replied by jimbrooking on topic Error & Duplicate Code in Header?
Cache settings screen shot
Please Log in or Create an account to join the conversation.
Time to create page: 0.196 seconds




