Posted by sedmi on June 10, 2011 at 3:21pm
13 followers
| Project: | SexyBookmarks |
| Version: | 6.x-2.0 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Shocker88 |
| Status: | needs review |
Issue Summary
I have just updated to version 6.x-2.0 and installed Chaos Tools and jQuery Update.
Sexy Bookmarks works fine except that I cannot drag service from Active to Inactive and vice verse.
What might be the reason for that?
Comments
#1
#2
+1 here!
#3
Looks like there's a JS issue somewhere along the line...."uncaught exception: Syntax error, unrecognized expression: ." is being thrown and it seems to be the same on all Browsers. Breaks the tabs below the drag and drop section too. Annoying error to have thrown though as it doesn't give any hints to where it is originating from - no line or file. Often this can be related to minified (production) javascript code/jQuery, but even running development jQuery nothing changes. I'll have a bit more of a play with it and report back if I have any result...
#4
Read around some other issues and saw that jQuery UI 1.7 is needed, which isn't in the default install of jQuery UI for Drupal 6. It's easy enough to fix this and upgrade to 1.7 - there's instructions within jQuery UI's README.txt file if you need the directions.
Once you replace the default 1.6 with 1.7 this issue is fixed! Know the focus of the upgrade was on Drupal 7 but probably worth noting in the documentation (only found it on drupal.org as far as I could see) for the Drupal 6 users.
Marking as needs review just in case others are running into something different, but with the timing of the new release and this being marked as 6.x, should be right to mark off :)
Cheers for the hard work with this module Deciphered, much appreciated!
#5
Thanks Shocker88, I appreciate the time you spent answering this question, you are in fact correct, as the project page states, jQuery UI 1.7 is required.
I will try to make the requirement more obvious in an upcoming point release.
Cheers,
Deciphered.
#6
I have updated jQuery UI from 1.6 to 1.7 and now I can move icons, but still cannot get them from active to inactive and vice verse. When I try to move icon it follows cursor movement until I leave it and it then jumps on totally different place or all icons start to move or it ends up in the sidebar or disappears completely... I have no control of where it will end up. Take a look at the attached image what it looks like several moves.
#7
sedmi,
It's possible that there's conflicting javascript or css.
What theme are you using?
Any modules that you're using that use javascript?
Can you try using another Administration theme and seeing if that helps?
Cheers,
Deciphered.
#8
+1
Doesn't work here either. Throws a javascript error in jquery.min.js of jquery update module...
#9
I've tried other administration themes, it's the same.
I've tried disabling and uninstalling Sexy Bookmarks and required modules and installing them again.
It's the same, but this time when enabling Sexy Bookmarks I've got this error:
"The plugin definition of sexybookmarks_profiles cannot locate schema sexybookmarks_profiles."
Can that be related? And what does that error mean?
I also tried changing options under jQuery Update. With "minified" or "none" selected, the situation is the same I can move icons but have no control over where they will end up when I leave them, while "packed" results in icons not being able to move at all.
The only other places on my site where jQuery is used are SuperFish Menu and Carousel View. They work fine.
I'll appreciate any advice you might have.
#10
Hi sedmi,
How did you go about configuring this module, ie. in which order did you install modules/upgrade jquery UI. I'll see if I can recreate the bug and look into it for you. As Deciphered said earlier though - there's a solid chance it is a javascript conflict so it might be specific to your site.
@DeLaPena - Is the error you're running into the same as sedmi's - check the image he linked if you haven't already.
Once I hear back I'll try recreate it but since mine was fine post jQuery UI 1.7 upgrade I'll need something to go off :)
Cheers!
#11
First time I:
- installed Sexy Bookmarks
- enable it
- installed Chaos Tools and jQuery Update
- updated jQuery UI (I already had 1.6)
- run update.php
- enabled Chaos Tools and jQuery Update
Since it wasn't working I tried to do it from the scratch:
- disabled Sexy Bookmarks, Chaos Tools and jQuery Update
- uninstalled those available for uninstall
- run update.php and deleted them from the server (I guess this step was surplus, but I did it anyway)
- uploaded them again
- enabled Chaos Tools and run update.php
- enabled jQuery Update and run update.php
- enabled Sexy Bookmarks and run update.php
I am now considering degrading to the old version or trying different module.
These problems seems too complex for what could be simple functionality. I don't care about drag and drop feature, once I configure this module I'll maybe never change its settings again. I wouldn't even worry so much about this issue if StumbleUpon is under active services, but this is very important now since I cannot activate StumbleUpon icon and occasionally SU is a great source of traffic for my site.
#12
I get this error in javascript console in my Safari:
TypeError: Result of expression '$('#sexybookmarks-active, #sexybookmarks-inactive').sortable' [undefined] is not a function.
All icons are on the right spot but i can't drag them to active or inactive.
And below i see twitter settings and Functionality settings and so on but can't seem to open that either...
Thanks for the help!
#13
Hi all,
I installed the latest version of jQuery, version 1.8 and I experienced this problem. So I downgraded to 1.7 and now the problem is resolved.
Hope that helps some of you...
#14
Dragging to active wasn't a problem but now I can't drag them back to inactive. I have 1.7 installed.
#15
Problem solved.
After uncompressing jquery-ui-1.7.x.zip to /sites/all/libraries/ , jQuery UI folder must be renamed to jquery.ui (dot ui) and not simply jquery-ui ... Sigh...
(See "admin/reports/status" and check that you have no error regarding jQuery and jQuery UI, anyway.)
#16
Hi all,
Finally had a chance to look into this issue. I used both a live install with custom theme and a fresh install to test if I could create it under different circumstances. For information sake - I did this using Jquery_Update and Jquery_UI modules with version 1.3.2 of Jquery core and 1.7.3 of Jquery UI (This the the current standard supposing you are going to install Jquery UI 1.7 as it is the latest stable 1.7 build).
Basically (and unfortunately) I haven't been able to replicate any of the bugs people have been mentioning. This leads me to believe the issues people are running into are due to things outside of the module, or related to trouble setting up the Jquery/Jquery UI required for this module. The most likely causes of problems would be:
Deciphered may have some more in-depth knowledge of things that are likely to mess it up but the above should be a solid point to start looking for your sites issue...Always remember to use firebug or a similar tool to check for Javascript errors being thrown and check the Drupal error log/watchdog for errors being thrown as they're generally solid indicators of where the issue might stem from.
PS: I did run into another bug which effects the edit page but is a different issue from this, will investigate/post separately. If you have a sexybookmark block active on the admin edit profile page for sexybookmarks, it will make all inactive images disappear. Still can move them from active->inactive and back, but have to remove the block from being active on that admin page for the inactive images to show. If anyone posting/looking here is running into that issue there's your solution it's a separate issue from the one being discussed here.
#17
@DeLaPena - The only way I could reproduce the error you described was by changing the ID's output by the module to not be #sexybookmarks-active and #sexybookmarks-inactive. That error is most likely thrown because the value of the id's are empty or cannot be found - which isn't an issue with the current 6.x-2.0. Did you edit the module at all?
#18
sub
#19
Thanks for the response. No i didn't edit the module at all. Maybe i should completely uninstall it and reinstall to try again?
grtz Tim
#20
Likely unrelated for most of you - but since people here are reporting slightly differing stories worth posting just in case! If you are experiencing an error where all inactive icons are missing on the admin pages, check out #1201500: Potential JS Conflict for inactive icons on admin page for a patch to hopefully fix. Would appreciate feedback either way :)
On topic of this issue - has anyone got anymore information or been able to recreate the issue? I'd like to help out but can only assume right now it's site-specific JavaScript issues until there's something to work off.
#21
Got the problem fixed by updating to jquery-ui 1.7. Would be really nice having the module tell you this instead having to browser the module issues database, though.
#22
theMatrix (And everyone else),
What does it say on the SexyBookmarks project page under 'Required modules'?
#23
I have the same issue as Sedmi:
I had jquery library 1.6
I updated Sexybookmarks and had an error, so I completely deleted the Sexybookmarks folder and reuploaded it again. Now I could enable it without error. Then I ran the update.php script.
But I couldn't drag the icons from active <-> inactive
So I found this thread and I updated to jquery library 1.7 (though before I had the library inside the jquery ui module, now had to put it in the libraries-folder)
Now when I try to drag an icon, it starts moving in very funny ways and I end up with a screen similar to the screenshot of Sedmi
Every time I go to the Sexybookmarks page, it give the green status: "The folder sites/default/files/sexybookmarks/aac8a584c753dac71865e338e6e3fe1e has been created." -> is this related?
Thx in advance :)
#24
Dragolin,
What admin theme are you using?
Cheers,
Deciphered.
#25
I'm using the standard Garland theme ...
#26
I changed back to the previous version 1.1 -> at least this one works (though not supported anymore)
#27
I finally got it cleared and was able to move the icons and save the settings by setting JQuery Update to "none".
#28
I´m using the standard Garland theme
Browser-Console returns:
Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Message: Object does not support this property or method.
Line: 10
Char: 5111
Code: 0
/sites/all/libraries/jquery.ui/ui/minified/ui.core.min.js?V
- -
used jquery Version is: jquery 1.7.3
(Legacy release, for jQuery 1.3.2)
__________________
EDIT:
updating the module jquery_update was the solution for me.
jquery_update Module 6.x-1.1 works with an older jquery Version.
jquery_update Module 6.x-2.0-alpha1 works with the required Version.
#29
Majority of people here appear to be stuck on the Jquery UI to 1.7+ upgrade path since there's a number of steps involved within Drupal 6 and it's easy to do it wrong.
The best guide I've seen on how to do this can be found at: #1078080: Tutorial: How to Install jQuery UI 1.7.3 Basic and Custom Type
I've also committed a patch here which changes the README.txt to explain the confusion around this issue. Only relevant to d6 obviously since the upgrade path is directly relevant.
Patch applies correctly for me but would appreciate any feedback on wording etc.
#30
Also if the upgrade path in the link doesn't work please track-back the issue and try to give details on what might be wrong on your install. As I mentioned above on a clean install the functionality works fine so it appears to be something with individual setups. If anyone has further information in the area I'd be happy to try help!