I installed as described in the read me file. Shadowbox library is placed in the sites/all/libraries. In the status report i get the message "installed correctly". Permissons are set. In the firebug window i see that no shadowbox.js or shadowbox.css is loaded.
I'm using fresh 6.17 installation with 6.x-4.2 version of the SB. It's a custom theme. Page with link below uses jCarousel module to create image bar.
url: http://emilflatz.com/kiro/?q=node/1
------------------------------------------------
note: i'm using shadowbox on other drupal based sites without module installation and it's working normally (links to SB .js and .css files are in the theme *.info file and i use Shadowbox.init() in the script.js file).
Thanks,
Emil
Comments
Comment #1
emilflatz commentedI solved my problem using Lightbox 2 module instead.
Comment #2
ñull commentedChanging to another module is not really a fix. This is an issue that needs to be addressed. This is the recommended version of shadowbox. In the install instruction it tells to download version 3.0.2 of the shadowbox Javascript library. The link and wget commandline instructions are wrong. I go to the Shadowbox website and download a full package from there with jQuery adapter. It is version 3.0.3 however. The Status report tells me :
when however I look inside zip of this version, there is no shadowbox.js to be found and there is no adapters folder. I went to the GIT repo of shadowbox and found version 3.0.2. Same thing. In 3.0.1 I find the adapters folder and the language folder, but still no shadowbox.js. Where o where to find it? Or should I just install 4.dev?
Whatever the cause, the install instruction needs urgently updated and apparently the status test is outdated, even for the 3.0.2 that the instructions tell you to download.
Comment #3
memberr commentedHello,
I think you are right.
Changing to another module doesn't improve this one :)
Although i can understand that someone who's just looking for a lightbox module might abandon an go look for something that works.
I'm no developer so i can only wait for somebody to fix this issue.
Comment #4
manfer commentedThe installation process in the 6.x-4.2 version in the installation.txt file says:
----------------------------------------------------------------
1. Follow the usual module installation procedure [1] or use Drush [2].
[1] http://drupal.org/node/70151
[2] http://drupal.org/project/drush
2. Download Shadowbox 3.0 from http://www.shadowbox-js.com/download.html.
Simply customize it to your needs, jQuery is suggested as the adapter, since it is included in Drupal.
3. Extract the download and place it in sites/all/libraries so you have, for
example: sites/all/libraries/shadowbox
4. View the status report at admin/reports/status to check that Shadowbox is
installed correctly.
5. Visit admin/settings/shadowbox to adjust the settings.
----------------------------------------------------------------
On 1 it says you have to follow the installation process of any module (obviously to install drupal shadowbox module that can be downloaded from http://ftp.drupal.org/files/projects/shadowbox-6.x-4.2.tar.gz), uploading the shadowbox drupal module files to your "sites/all/modules" directory (in most cases, not taking into account multisite installs). So you should finish with a directory named shadowbox inside "sites/all/modules" containing the files: INSTALL.txt, LICENSE.txt, README.txt, sample.png, shadowbox_auto.js, shadowbox.admin.inc, shadowbox.css, shadowbox.info, shadowbox.install, shadowbox.make, shadowbox.module, TROUBLESHOOTING.txt, USAGE.txt. Don't forget to enable the module to finish the installation.
On 2 it says you have to visit the shadowbox library site http://www.shadowbox-js.com/download.html and download the library from there. It says to download version 3.0 which you can find there. Current version is 3.0.3. Suggest to select as adapter jquery but the base(standalone) one would work also fine (any other adapter won't work, mootools, dojo, prototype, ..., unless you have those libraries installed on your drupal site). It tells you to customize it to your needs so check all the boxes for the features you want: images, External sites and pages, Inline and/or dynamic HTML, Flash (swf files), Flash video (flv files), QuickTime, Windows Media Player, and download it.
As it comes compressed on 3 says we have to extract that compress file and upload its content to sites/all/libraries. By default the module expect to find a folder there called shadowbox so it is better if the folder has that name. So you should finish with a folder called shadowbox in "sites/all/libraries" containing the files: close.png, expressInstall.swf, LICENSE, loading.gif, next.png, pause.png, play.png, player.swf, previous.png, README, shadowbox.css and shadowbox.js.
(if you extract the compressed file the name of the directory is shadowbox-3.0.3 so is you want to preserve that folder name you can configure it in admin/settings/shadowbox)
And with that you are done. 4 suggest to check all is correct. The test does its job perfectly. If you installed the shadowbox library correctly in sites/all/libraries/shadowbox then no warning at all is shown but a message "Shadowbox Installed correctly". If something is wrong it complains about the library not present.
In 5 tells we can go to admin/settings/shadowbox to customize the settings.
-------------------------
I can't understand what is wrong with those instructions at all. I have not tested the drush installation process if someone is meaning that one is not working. I'll try if I can.
You have to clearly notice the difference between drupal shadowbox module (the thing that you install in point 1 inside sites/all/modules) and shadowbox javascript library (the thing you install in point 2 inside sites/all/libraries -library that is going to be used by the module-). You need to install both.
Comment #5
manfer commentedComment #6
manfer commentedAfter giving detail instructions on how to install I suppose the issue should be resolved. No more feedback anyway.
Comment #8
SusanMcKenna commentedThe paragraph after the Step 2 paragraph states the following:
"So you should finish with a folder called shadowbox in "sites/all/libraries" containing the files: close.png, expressInstall.swf, LICENSE, loading.gif, next.png, pause.png, play.png, player.swf, previous.png, README, shadowbox.css and shadowbox.js"
I've tried downloading and uncompressing the library three times with different options selected. I do not find "shadowbox.js". I have all the other files, but not shadowbox.js.
I used:
Drupal Module: shadowbox-7.x-3.0-rc2
Shadowbox Library: shadowbox-js-src.3.0.3.zip