Issue with Javascript as documented on this post http://drupal.org/node/776308

The contact display doesn't display the tabs just a list. When clicking on any of those links the page display is totally gone just a blank white page with text. See included image of membership page in both Aquia Marina and in Garland and included contact tab page for both themes.

The search bar logo doesn't display in the top bar but is empty.

As you can see from the screen shot that on the subtab pages all styles are lost, this is a very serious issue for us as we really need to get CiviCRM up and working with the site which uses the Aquia Marina theme.

Any help would be greatly appreciated

Comments

avo webworks’s picture

StatusFileSize
new31.06 KB
new76.8 KB

One more issue on the edit contact page see attached images.

It seems like all the CSS and Javascript just falls apart

avo webworks’s picture

I am really hoping someone can help with this issue. We really need to have CiviCRM on the site.

robbie0119’s picture

Through countless hours of searching and testing for the cause of the conflicts with this theme and CiviCRM, here are a few suggestions:

1)Are you using IE to view contact record? The reason the tabs are not displayed properly is because the civicrm css files are not being loaded correctly. Make sure you have css & js optimization (http://www.example.com/admin/settings/performance)turned on or check the "avoid IE stylesheet limit" under Developer Settings (http://www.example.com/admin/build/themes/settings/acquia_marina)

2) The search box is not functioning due to jQuery errors. Try installing the jQuery_update module. If you have the date and calendar module installed, make sure the date popup and calendar popup are not enabled as they may be affecting jQuery as well.

avo webworks’s picture

thank you for your response and testing. I also have been fishing around with no luck. I have tested the issue on MAC, Opera, safari, firefox and on a Linux computer and Windows IE 7 and 8 as well as firefox. Issues are present and consistent all the way.

I had already installed the jQuery_update module and als incorporated the settings you mentioned in point one.

Issues are not present when switching to the Core Fushion or Garland . Issues are not present either in version 2 of Acquia Marina.

Do you have any other suggestions before I port all back to an older version, which means a significant amount of work as we are really using a lot of the new version 3 features. We have three website that are using the Acquia Marina 6.3 and need to run CiviCRM as well.

Thanks for you help.

robbie0119’s picture

Which version of jQuery_update did you install? The 6.x-2.x-dev has the same version of jQuery as the one included with civicrm.

What modules do you have installed on the site?

sociotech’s picture

StatusFileSize
new494 bytes

avostar, robbie0119,

It appears that because both Drupal and CiviCRM are loading their own versions of JQuery, we need to use a different method to load the JQuery code in our subthemes.

So, attached is a new acquia-marina-script.js file that uses Drupal behaviors to load its script, rather than document ready functions.

Please try replacing your existing acquia-marina-script.js file (in sites/all/themes/acquia_marina/js) with the attached version. Then clear your Drupal cache. Your CiviCRM javascript should now work.

Please let me know if this fixes your issue. If it does, we will include it in the next version of Acquia Marina.

Thanks for your feedback on this issue.

avo webworks’s picture

Hi Sociotech,

Wonderful I would like to buy you a case of beer or something to acknowledge my appreciation for fixing this issue. It works beautiful after flushing cache.
thank you again sooo very much.

jeremycaldwell’s picture

Assigned: Unassigned » sociotech

This fix will be in the next release of the theme.

sociotech’s picture

avostar,

Glad to hear that fixed things for you. Thanks for the detailed information regarding this issue. It helped.

No need for the beer though, improving our themes is reward enough :)

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.