Just decided to update everything today and noticed that the download at http://www.shadowbox-js.com/download.html , no longer unzips with the same folders it used to.
This creates an error with the shadowbox module:
Shadowbox 3rd party Shadowbox software not properly installed
The sites/all/plugins/shadowbox-3.0 path exists but it appears that the directory structure underneath is incorrect. Please check that sites/all/plugins/shadowbox-3.0/shadowbox.js and sites/all/plugins/shadowbox-3.0/adapters/shadowbox-jquery.js exist.
It still *works* (shadowbox will pop up) but makes the entire site dreadfully slow, not just when trying to load a shadowbox.
It also provides several "adapter" choices now when you download. I tried a few including jQuery version, but I guess it builds it into shadowbox.js now.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | shadowbox-3.0.2.tar_.gz | 77.73 KB | nicholas.alipaz |
| #15 | shadowbox-711964-3.patch | 11.16 KB | nicholas.alipaz |
| #10 | shadowbox-711964-2.patch | 4.95 KB | nicholas.alipaz |
| #7 | shadowbox-711964.patch | 3.46 KB | nicholas.alipaz |
Comments
Comment #1
JGonzalez commented+ subscribed
The shadowbox will not work at all for me
Get the same error
But no boxes will pop up.
Has anyone been able to make this work?
Comment #2
v.vanhala commentedI'm getting the exact same behavior. Tried the different adapters but there are no folders in the shadowbox library as this module expects.
Comment #3
psynaptic commentedINSTALL.txt already has a link to Shadowbox-3.0rc1
http://freestylesystems.co.uk/sites/freestylesystems.co.uk/files/shadowb...
I, or someone else, needs to go through the module and change paths so it works with the new structure the author of Shadowbox has decided to use.
I don't really want to break existing installations so not sure exactly what we should do about this. Maybe we need a new branch.
Comment #4
psynaptic commentedBetter, less crufty title.
Comment #5
CinemaSaville commentedSo glad to have discovered this issue queue, I tried using Shadowbox with emfield and views, and it took forever to load the movie. I believe this was the issue. So psynaptic, when do you plan on updating this, or is this something we can do ourselves?
Comment #6
nicholas.alipaz commentedJust posting to say I am making a patch now and will soon add it here.
Comment #7
nicholas.alipaz commentedhere is a patch to fix the issue. patch against current cvs 3.x
Comment #8
Anonymous (not verified) commentedThis patch is not complete. I tried it and I still get the same error.
I took a look and it seems the .install file needs to be updated as it still has checks and references to the 'adapters' directory.
Comment #9
macmaci commentedI am getting the following error with my Shadowbox install.
The sites/all/libraries/shadowbox path exists but it appears that the directory structure underneath is incorrect. Please check that sites/all/libraries/shadowbox/shadowbox.js and sites/all/libraries/shadowbox/adapters/shadowbox-jquery.js exist.
Can someone please assist?
Thanks,
maci
Comment #10
nicholas.alipaz commentedThanks for testing the patch. I hadn't noticed that issue since I already had shadowbox installed/enabled so never ran the install file. Here is another go at the patch it should resolve the issues in the install file.
Comment #11
nicholas.alipaz commentedmacmaci, your issue is related and will be fixed as a result of this patch. You will need to wait until this can get committed to the module if you don't know how to use a patch.
If you want to try applying the patch then go to http://drupal.org/patch/apply
Comment #12
macmaci commentedNicholas,
Thanks I really appreciate you help and response. Do you know when the module might be updated?
maci
Comment #13
nicholas.alipaz commentedLike I said, I don't know since I am not the developer. I am only providing a patch back in hopes that it gets fixed.
Comment #14
psynaptic commentedSorry to push this back but it's incomplete. Coding standards are good.
If the feature to choose which media opens in Shadowbox is not available any more we need to remove the fieldset from the settings form and anything else related.
Why has this been deleted?
Powered by Dreditor.
Comment #15
nicholas.alipaz commentedHere is an updated patch. It should cover all the issues you mentioned. The removal of the auto js file was a mistake, good catch.
3.0.2 is out which fixes some issues with dragging longer images so I updated all the references to 3.0.1 in the last patch.
Comment #16
psynaptic commentedNice work. I have granted you commit access to the project. Feel free to commit this.
Comment #17
nicholas.alipaz commentedI thank you and it has been committed. #333240. The new version's install file will be referencing the url: http://freestylesystems.co.uk/sites/freestylesystems.co.uk/files/shadowb... just so you know and can prepare for the change.
I will commit this to a new release shortly. It really needs to get out there since the current module is quite broken with the latest version of shadowbox.
Comment #18
psynaptic commentedJust don't make a release yet. We need to shift up a version number or we would break all existing installations.
That URL could be changed to:
http://freestylesystems.co.uk/sites/fs/files/shadowbox-3.0.2.tgz
Can you upload the tar archive for me? Just so we're using the right one?
Comment #19
nicholas.alipaz commentedhere is the tarball. I am sorry I had already made the release. You are right, I probably shouldn't have, let me know how I can assist in fixing anything else. I am not sure what else you are after in the changes. I think most everything is in place except the file that I mentioned in install.txt.
Comment #20
nicholas.alipaz commentedbtw, sorry to move so quick. I got overzealous seeing that the issue is really breaking the module for a lot of people.
Comment #21
psynaptic commentedI can't believe you just did that. You can't just go making stable releases like that without having a clue wtf you are doing.
You tried to fix it for a handful of people who are over eager to move to the newest version of Shadowbox but you've just broken every other site that uses 3.x version.
Comment #22
psynaptic commentedYou need to revert the patch and avoid breaking the existing installations.
Then we should discuss what to do about the situation.
Comment #23
psynaptic commentedOk, we have reverted this so we don't break every site out there. People who can't upgrade for one reason or another won't be forced to.
If people wish to use the latest version of Shadowbox then they need to use the 6.x-4.x version of this module.
Comment #24
macmaci commentedThanks so much for the new version. I can now install without any errors in my report. However my .swf file does not load. The preloader in Shadowbox appears then stops without loading the movie. Below is the code I am using for my link:
Animation Demo
Thanks
Love and Peace
Maci
Comment #25
nicholas.alipaz commentedwhen you downloaded your copy of shadowbox, are you sure you checked the box to support swf? You should select jquery as your adapter and then check all the media types if you want support for all of them.
Comment #26
Lee-vit-Over commentedI'm NO coder - but I may be a good example for you who are. I am trying to use this module, and after trying to follow this issue, and figure out "wtf" to do - or not do - it's IMPOSSIBLE for someone like myself. After reading this issue, I'm so friggin confused I don't know WHAT works. How is someone supposed to use a module that is SUPPOSED to be a working release, when they have to follow a mile of issue-queue and a dozen supposed "patches" (that DON'T WORK) -- and figure out how to "fix" what the module is SUPPOSED to do. If you're going to make a module (especially released module) MAKE SURE IT WORKS -- what good is THIS for someone who's not a coder ? -- I'm removing shadowbox until someone makes a module for it that WORKS.
Comment #27
Lee-vit-Over commentedCould SOMEONE write some installation-instructions for this? He obviously can't. - Thank you.
Has anyone thought to include the fact that you have to change the file-name of 'shadowbox' and
remove the numbered-extension?
Comment #28
nicholas.alipaz commentedThe installation instructions are in the downloaded INSTALL.txt that comes in the module. Also it is noted quite visibly on the front project page:
* Shadobwox 6.x-2.x works with Shadowbox 2.0 Full.
* Shadobwox 6.x-3.x works with Shadowbox 3.0rc1.
* Shadobwox 6.x-4.x works with Shadowbox 3.0.x.
So if you want to use the current version of the shadowbox library from shadowbox-js.com then you would need version 6.x-4.x of the module.
On a side note, your comments are extremely rude and uncalled for, you could simply ask for some assistance. This is a community where people typically help if asked.
Comment #29
danny englanderSubscribing...
Comment #30
nicholas.alipaz commentedhighrockmedia, please don't subscribe to this thread which is FIXED and will be closed soon. There is no reason to subscribe when it is already fixed, just do what is necessary to use with newest version
THIS ISSUE IS FIXED, DO NOT SUBSCRIBE.
Comment #31
danny englandernicholas.alipaz - Excuse me... but is there a Drupal law somewhere that I can't subscribe to something??
Comment #32
CinemaSaville commentedhighrockmedia you are found guilty of subscription treason by the Drupal High Court, and are hereby banished from all Drupaldom. You are sentenced to spend your remaining days wandering between the Kingdoms of Joomla 1.5 and Wordpress 2.0, never to be heard from again on any of these issue queues or associated forums. You must immediately surrender all possession of all your associated modules and plug-ins.
Comment #33
danny englanderThanks, I guess that's a fairly light sentence so I can deal with that LOL.
Comment #34
drup-all-over commentedOh dear, I keep getting 'page not found' errors in shadowbox settings configuration and getting all confused...
Having now spend many, many hours moving between the drupal and shadowbox forums without finding any concise answers to this, can anyone please, please, please confirm the following once and forever:
1. exactly where shadowbox 3.0.3 (latest) must be installed: is it in sites/all/libraries or sites/all/plugins ?
and does the folder name need to be changed from 'shadowbox-3.0.3' to 'shadowbox-3.0' or 'shadowbox' ?
2. which media uploading/processing modules work with showbox to enable images and other media to be uploaded inline and be displayed in shadowbox?
3. which wysiwyg module is shadowbox compatible these days?
4. is there a most optimal combination of above such modules which work seamlessly with shadowbox?
Thanks you so much for clarifying this.
Sabin
Comment #35
nicholas.alipaz commentedSabin, when downloading sb3.0.3 from the site you should be sure to choose jQuery as your adapter and select all media types if you are unsure of what you'll need.
Then place it in sites/all/libraries/shadowbox (shadowbox.js should reside inside of this folder).
For wysiwyg, I am not sure what you are asking, but there should be no conflicts between wysiwyg and the actual shadowbox module. For integration or something I am not sure.
Be sure to read the README.txt and INSTALL.txt in shadowbox module they provides some good instructions.
Comment #36
drup-all-over commentedNicholas, thanks so much for trying to help- v much appreciated.
I have finally managed to get shadowbox to work but please note that i had to place the original shadowbox-3.0.3 inside a new folder called shadowbox, itself placed inside libraries. Without the 3.0.3 number in the folder name it just doesn't work- page not found, even if the path has been correctly typed in shadowbox admin.
Anyway, it works now but it's behaviour I simply cannot understand. I have set up shadowbox to apply to all images with a link in 'auto image handling' and am using Image assist to load images into my pages. I also have views2, CCK, imagecache, image, filefield, imagefield, image attach and image api installed correctly.
Unfortunately, in Image Assist if I associate a pop-up link to the image, the image is launched both in a pop-up window and in shadowbox. If the link in Image Assist is set to open in the file window, shadowbox doesn't kick in at all. I tried to set up a blank url but that points me to the front page and again, no shadowbox action.
When several nodes are displayed inside a view, each containing several images, I would like shadowbox to only display the images within each node and not all the images inside the view. Is this possible?
Believe me, I did a lot of search on d.o. and could not find an answer to this. Furthermore, the instructions on the shadowbox site refer to a standalone installation and have nothing to do with drupal so, they are hopeless.
I hope you can help. Thanks again for your time.
Regards
Sabin