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
Comment #1
ascetic commentedJust installed, following the steps provided, adding rel="shadowbox" ....... and nothing happens :(
Comment #2
psynaptic commentedCould 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?
Comment #3
Anonymous (not verified) commentedAt least in my case, it works as soon as I switch from "German" to "English". Looking into it ...
Comment #4
Anonymous (not verified) commentedIt'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.
Comment #5
psynaptic commentedThanks for your work guys.
If anyone could write a short paragraph about this problem I will add it to the README.txt.
Comment #6
Anonymous (not verified) commentedWell, I would put it into INSTALL.txt like this:
(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 ;)
Comment #7
psynaptic commentedThis 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?
Comment #8
Anonymous (not verified) commentedReplace
with
--edit: Added replace/with.
Comment #9
psynaptic commentedHow 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.
Comment #10
Anonymous (not verified) commentedWonderful :-)
Comment #11
psynaptic commentedCommitted to 6.x-2.x:
http://drupal.org/cvs?commit=182372
Comment #13
ajlowndes commentedi'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.