I installed the module correctly as it says.. (admin/reports/status) (http://halternativ-verein.de/HALternativ/)
but with this code

<p>
  <a href="http://halternativ-verein.de/hal/pix/flyer_gal/08-11-23-LitLounge_II.jpg" rel="shadowbox[galerie]" title="08-11-23-LitLounge_II">
    <img alt="08-11-23-LitLounge_II" src="http://halternativ-verein.de/hal/pix/flyer_gal/08-11-23-LitLounge_II.jpg" />
  </a>
</p>

it will not work...

Global kill-switch active

Enable on every page except the listed pages:
admin*
img_assist*
node/add/*
node/*/edit

--> standard values

jscripts and css are included, but what is missing?

<link type="text/css" rel="stylesheet" media="all" href="/HALternativ/sites/all/modules/shadowbox/shadowbox/src/skin/classic/skin.css?E" />

<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/adapter/shadowbox-jquery.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/shadowbox.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox_auto.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/src/skin/classic/skin.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/lang/shadowbox-de.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-img.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-flv.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-html.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-iframe.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-swf.js?E"></script>
<script type="text/javascript" src="/HALternativ/sites/all/modules/shadowbox/shadowbox/build/player/shadowbox-wmp.js?E"></script>

<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/HALternativ/", "admin_menu": { "margin_top": 1 }, "shadowbox": { "flv_player": "/HALternativ/sites/all/modules/shadowbox/shadowbox/flvplayer.swf", "animation": 1, "animation_fade": 1, "animation_sequence": "wh", "modal": false, "overlay_color": "000", "overlay_opacity": "0.85", "flash_background": "000000", "autoplay_movies": 1, "show_movie_controls": 1, "slideshow_delay": "0", "resize_duration": "0.35", "fade_duration": "0.35", "display_nav": 1, "continuous_galleries": 0, "display_counter": 1, "counter_type": "default", "counter_limit": "10", "viewport_padding": 20, "handle_oversize": "resize", "handle_unsupported": "link", "initial_height": 320, "initial_width": "320", "enable_keys": 1, "extensions_img": [ "png", "jpg", "jpeg", "gif", "bmp" ], "extensions_swf": [ "swf" ], "extensions_flv": [ "flv", "mp4", "mov" ], "extensions_qt": [ "dv", "mov", "moov", "movie", "mp4" ], "extensions_wmp": [ "asf", "wm", "wmv" ], "extensions_qtwmp": [ "avi", "mpg", "mpeg" ], "extensions_iframe": [ "asp", "aspx", "cgi", "cfm", "htm", "html", "pdf", "pl", "php", "php3", "php4", "php5", "phtml", "rb", "rhtml", "shtml", "txt", "vbs" ], "auto_enable_all_images": 1 } });
//--><!]]>
</script>

perhaps anyone can help me out...

thx Sven

Comments

ascetic’s picture

Title: sadly not working... » I'm having the same issue

Just installed, following the steps provided, adding rel="shadowbox" ....... and nothing happens :(

psynaptic’s picture

Status: Active » Postponed (maintainer needs more info)

Could this be something to do with the German language? Can you confirm this is still a problem when you're using en instead of de?

Anonymous’s picture

At least in my case, it works as soon as I switch from "German" to "English". Looking into it ...

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Fixed

It's fairly simple...

shadowbox/build/lang contains shadowbox-de-DE.js and shadowbox-de-CH.js but not shadowbox-de.js. I don't know whether this is documented somewhere, but the fix is: Copy one of shadowbox-de-DE.js or shadowbox-de-CH.js to shadowbox-de.js.

psynaptic’s picture

Thanks for your work guys.

If anyone could write a short paragraph about this problem I will add it to the README.txt.

Anonymous’s picture

Well, I would put it into INSTALL.txt like this:

INSTALLATION
------------

1. Follow the usual module installation procedure [2].
2. Download the Shadowbox 2.0 Full distribution [3].
3. Extract the download, rename the shadowbox-2.0 directory to just 'shadowbox'
   and place it inside the shadowbox module directory.
4. In the directory shadowbox/shadowbox/build/lang copy one of 
   shadowbox-de-??.js to shadowbox-de.js
5. Visit the status page [4] to check Shadowbox is installed correctly.
6. Visit the settings page [5] to review the global settings.

[2] http://drupal.org/getting-started/5/install-contrib/
[3] http://mjijackson.com/shadowbox/doc/download.html
[4] admin/logs/status
[5] admin/settings/shadowbox

(simply inserted item 4). An alternative would be to patch Shadowbox itself.

It would be possible to add something like "if you want to use Shadowbox with a german language, etc" to item 4 - but OTOH its a fast enough fix ;)

psynaptic’s picture

This is, I think most people use English so it's not a required step. Could you make it so it's easier to understand that?

Anonymous’s picture

Replace

4. In the directory shadowbox/shadowbox/build/lang copy one of
   shadowbox-de-??.js to shadowbox-de.js

with

4. If Shadowbox should be used on a german site - or on a site containing
   german translations - you have to copy shadowbox-de-??.js to
   shadowbox-de.js in the directory shadowbox/shadowbox/build/lang.

--edit: Added replace/with.

psynaptic’s picture

How about, at the bottom:

Note: Translations for the Shadowbox interface are currently handled by files in the shadowbox/shadowbox/build/lang directory. If your site uses German, Portuguese or Chinese translations you will need to copy and rename one of the related language files to e.g. shadowbox-de.js.

Anonymous’s picture

Wonderful :-)

psynaptic’s picture

Title: I'm having the same issue » Missing language file caused Shadowbox to break

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ajlowndes’s picture

Title: Missing language file caused Shadowbox to break » oh my god

i've been banging my head against a wall over this for days now. you know what it was? I didn't check the status message, where it says "In order for the Shadowbox module to work correctly, the Shadowbox 2.0 Full distribution must exists at sites/all/modules/shadowbox/shadowbox."

holy crap.