I have been having a problem when testing the 3.0 branch. I eliminated conflicts with other modules by doing a clean install on my testing server consisting of: Drupal 6.16; CiviCRM 3.1.3; Acquia Marina theme; Fusion Theme; Skinr Module. When using this recipe; when accessing the CiviCRM dashboard, i get an error message that Javascript must be enabled. I have been trying to troubleshoot the cause of this problem and have narrowed it to Jquery but I am not proficient enough with jQuery to solve the problem. After further testing, I have narrowed the problem down to something in the js or css files in this theme. I even tried jQuery Update to no avail. Firebug error: $(".inner .marina-rounded-corners .inner-wrapper .inner-inner").corner is not a function... sites/all/themes/acquia_marina/js/acquia-marina-script.js.

Comments

jeremycaldwell’s picture

Assigned: Unassigned » sociotech
avo webworks’s picture

Yes I am having the same trouble any fix to this would be greatly appreciated

sociotech’s picture

Looking into this. I think we are close to a fix.

jeremycaldwell’s picture

Status: Active » Fixed

Fixed in the beta release of the theme.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

robbie0119’s picture

This issue has reappeared. After days of working on finding the problem, i ran across this page http://drupal.org/node/756722 which decribes new coding standards for D7. Too bad i didn't find it sooner because it fixed the issue of $ and jQuery namespace conflicts between drupal's version of jQuery and CiviCRM's version of jQuery. I wrapped the acquia marina's javascript code (acquia-marina-script.js) with the following function:

(function ($) { 
   /////existing code in themes

})(jQuery);

I looked at many themes and they all seem to use the drupal.behaviors function for theme .js files. I had to edit Fusion's script.js file in the same manner to correct the issue there as well.

I tried to upload a patch but it will not upload

robbie0119’s picture

Title: Acquia Marina Theme breaks jQuery when using CiviCRM » Rounded corners not working in Acquia Marina; jQuery namespace conflict when using CiviCRM
Status: Closed (fixed) » Active

Updating status

avpaderno’s picture

Title: Rounded corners not working in Acquia Marina; jQuery namespace conflict when using CiviCRM » Rounded corners do not work in Acquia Marina; jQuery namespace conflict when using CiviCRM
goody815’s picture

Status: Active » Closed (works as designed)

closing issue due to lack of activity since Sept 2010

tobedeleted’s picture

Version: 6.x-3.0-alpha2 » 6.x-3.1

Was this ever fixed?
I've just updated a site that used this theme to CiviCRM 4.1.2 and it is once again displaying the tell tale message: "Javascript must be enabled in your browser in order to use the dashboard features." that usually indicates a problem with jQuery and the theme. Was the fix at #6 above ever applied?