[SOLVED] jQuery .scrollable is not a function

12 years 5 months ago - 12 years 5 months ago #183076 by jimmoeller
After I sign-in to CB, the user profile page has the "Community", "Edit", and "Connections" listed vertically, one below the next...and overlapping. I'm using Joomla 1.5.25, CB version 1.7, php version 5.2.17. The Joomla template I"m using is "jaw032" (done initially by JoomlaArtWork), which I'm in the process of modifying to suite my needs better. It looks like this template was created with Artisteer. Of couse when I switch back to one of the other Joomla templates (like ja_purity) the problem goes away. So no doubt that the problem is initiated with my Joomla template. I've read pretty much everything on the forum about template jQuery conflicts, but don't see anything specifically about the .scrollable error. The template uses java script, but doesn't look like it has conflicting jQuery usage. The java script error (see below) occurs with a jQuery scrollable tool used with CB. Is this a case where multiple versions of java script are loaded and are causing problems?


When I view the user profile page in Firefox with Firebug, I see the error....
"jQuery("#xs_66").scrollable is not a function"

and from the code it looks like it is in the following block....
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery('#xs_66').scrollable({
vertical: false,
speed: 1000,
circular: true,
keyboard: true
}).navigator();
});

Please Log in to join the conversation.

12 years 5 months ago #183098 by krileon
Replied by krileon on topic Re: jQuery .scrollable is not a function
Please upgrade to CB 1.7.1. Once done please PM backend super administrator login credentials and will take a look. If you like I can upgrade to CB 1.7.1 for you if you prefer.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 5 months ago #183133 by krileon
Replied by krileon on topic Re: jQuery .scrollable is not a function
The problem is coming from your "Affiliates" (mod_xpertscroller ) module. I've disabled this and confirmed your page now loads without error. It appears to be a jQuery conflict. It's using a very very low level noConflict which is not appropriate for Joomla (it needs to route jQuery to its own selector or asynchronously load jQuery so it doesn't load when jQuery already exists). When attempting to edit the module the below is presented as a fatal error.
JDatabaseMySQL::query: 1146 - Table 'jmoeller_jo151.jos_k2_categories' doesn't exist SQL=SELECT m.* FROM jos_k2_categories m WHERE published=1 AND trash = 0 ORDER BY parent, ordering

I recommend contacting the developer of your extension for further support as it seams to have quite a few major issues.

Please note this isn't the reason for your CB Menu showing 1 after another rather then side by side. The cause of that is purely CSS and can be resolved with the below change.

IN: templates/nanovox_joomla_1_5_template/css/template.css
ON: Line 1489
REMOVE:
.contentLayout li {
    float: none;
}


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

12 years 5 months ago #183279 by jimmoeller
Replied by jimmoeller on topic Re: jQuery .scrollable is not a function
Kyle,

Good work. Thanks much.

Previously, I did actully go through the process of disabling all my modules and plugins to determine if those were causing problems, but all I did was look to see if it fixed the CB user profile formatting issue, and didn't check if the jave script error went away. Ultimately I didn' realize that the jave script error wansn't associated with the CB user profile formatting error.

In any case, I never liked that mod_expertscroller module anyway. I was seeing it had functions problems earlier.

I'll get the template CSS issue fixed and follow-up if there are any other issues.

Thanks again,
Jim

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.186 seconds

Facebook Twitter LinkedIn