CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drag-n-Drop Dashlet does not work
Pages: [1]

Author Topic: Drag-n-Drop Dashlet does not work  (Read 2842 times)

TallDavid

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 2
    • ATO Zeta Mu Alumni
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.52
  • PHP version: 5.2.13
Drag-n-Drop Dashlet does not work
January 28, 2011, 08:33:56 pm
The Drag-n-Drop Dashlet is not working on the one site that I have upgraded to CiviCRM 3.3.3.  It is working on 2 other sites on the same server that are still running CiviCRM 3.3.2, although, this may be unrelated.

CiviCRM  3.3.3
Drupal  6.20
Problem occurs when using the SimplyCivi theme as well as Garland.  The PNGFIX and Skinr modules are not installed on the problem site (these were suggested in other threads by persons having the similar issues).  The Firebug Console shows no errors.  Screen shot is attached.

Installed libraries in Drupal (all 3 sites):
jQuery UI   1.7.3
jQuery Update 1.3.2

Examining the Javascript file contains references to different versions of the jQuery library:
* jQuery JavaScript Library v1.3.2
* jQuery JavaScript Library v1.4.3
* jQuery UI 1.8.5
* jQuery UI 1.7.3

The jQuery UI module reports the following dependencies:
Required by: JQuery UI Dialog API (enabled), M&A Event (enabled), Panels In-Place Editor (disabled), WYSIWYG Image upload (enabled), WYSIWYG Image upload Browser (enabled), WYSIWYG Image upload - Fancybox integration (disabled), WYSIWYG Image upload - Lightbox2 integration (disabled), Wysiwyg imageupload - Migrates WYSIWYG imageupload 1-x t 2.x (disabled), WYSIWYG Image upload migration tool (disabled), WYSIWYG Image upload - Shadowbox integration (disabled)

One-by-one I disabled each of the modules with JQuery UI dependencies and checked to see if the problem was resolved.  Even after all 4 dependent modules were disabled, the problem remains.
Next I disabled jQuery UI    6.x-1.x-dev, and the Dashlets began working.  Permanently disabling jQuery UI is not an option.  Suggestions?

« Last Edit: January 28, 2011, 09:32:59 pm by TallDavid »

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: Drag-n-Drop Dashlet does not work
March 31, 2011, 01:56:07 am
Exact same problem here.
Using Civic 3.3.5 , and drupal 6.20
Disabling Jquery_UI fixes the problem but it's not an option as it breaks other parts of the drupal site.

http://forum.civicrm.org/index.php/topic,8977.msg80239.html#msg80239  might be a solution, but I couldn't figure which file need be changed  :-[

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: Drag-n-Drop Dashlet does not work
March 31, 2011, 02:42:49 am
I think the easiest way out of this is to host civicrm on a separate subdomain, that only runs civicrm and no modules that use Jquery , using a standar drupal multisite install.
Otherwise, every new module added to the website could 'break' civicrm if there's Jquery involved  :-\
(so instead of www.mysite.com and www.mysite.com/civicrm you have www.mysite.com and civicrm.mysite.com. If you're using LDAP auth, the same auth source can be used for both. If user accounts are local, I guess there's some module to allow users sync between sites on a multisite install.)

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Drag-n-Drop Dashlet does not work
March 31, 2011, 10:14:57 pm
I tried this on my local install ( by enabling modules jquery_ui, jquery_update ) but it was not replicating.
I suspect upgrading jquery ui plugin in CiviCRM will solve this problem ( http://forum.civicrm.org/index.php/topic,19095.msg79817.html#msg79817 ) .

Now CiviCRM3.4.beta2 uses latest version jquery ui ( http://issues.civicrm.org/jira/browse/CRM-7822 ) , so hopefully CiviCRM >= 3.4.beta2  will solve this problem.

Rajan 

ericbroder

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
    • CivicActions supports CiviCRM
  • CiviCRM version: 3.4.0
  • CMS version: Drupal / Pressflow 6.20
  • MySQL version: 5.0.51a
  • PHP version: 5.2.8
Re: Drag-n-Drop Dashlet does not work
May 04, 2011, 01:00:19 pm
I had a very similar problem where the CiviCRM drag and drop dashboard was not working. Seems to be a conflict with Drupal jQuery UI module. I posted a fix here: http://drupal.org/node/749126#comment-4427376

I'm using jQuery UI module with Pressflow 6.20.97 (Drupal 6.20) because it's a requirement for the Inline Context Editor feature in Context module 6.x-3.0. I was interested in upgrading the Drupal jQuery UI plugin to 1.8.11 because that's the version used in CiviCRM 3.4, and I was having a javascript conflict error, "uncaught exception: Syntax error, unrecognized expression: . ", with the CiviCRM drag and drop dashboard.

Here's what worked for me:
- Install and enable Drupal jQuery Update 6.x-2.0-alpha1: http://drupal.org/project/jquery_update
- Patch Drupal jQuery UI module 6.x-1.4 with http://drupal.org/node/749126#comment-4184892
- Install jQuery UI plugin 1.8.11 inside of Drupal jQuery UI module, replacing previous version.

This appears to have resolved the jQuery UI plugin conflict between Drupal and CiviCRM. After doing the steps above, Drupal Inline Context Editor works and so does CiviCRM drag and drop dashboard.
CivicActions supports CiviCRM

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: Drag-n-Drop Dashlet does not work
May 20, 2011, 06:52:33 am
just used the dev version with no patch and it seems to work.  not sure if something else is broken though ....  don't forget to delete template files...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drag-n-Drop Dashlet does not work

This forum was archived on 2017-11-26.