ive tried this with both the release build and current dev build

when im on shadow site config page
the test image comes up perfectly
the page source's header has these two files linked in

<link type="text/css" rel="stylesheet" media="all" href="/sites/all/plugins/shadowbox/shadowbox.css?g" />
<link type="text/css" rel="stylesheet" media="all" href="/modules/shadowbox/shadowbox.css?g" />

then when im on my test page
the test image does not come up perfectly
rather it just shows the image on another page like it was a normal

the only diff between the site config page and my test page after doing a comparison
is that the test page is missing one of the css files

its only got this

<link type="text/css" rel="stylesheet" media="all" href="/sites/all/plugins/shadowbox/shadowbox.css?g" />

so my question is two-fold
1) does anyone know why the other link to the css is not being rendered in my page source
2) just for s&gs i added the missing css to my page via the php block
and im still not getting the shadowbox
can someone give me a direction to follow on how to make the shadowbox popup?

thanks

Comments

playwithtoy’s picture

for some reason this file wasnt included in my shadowbox_construct_header function
(which is in shadowbox.module)

just added the line

    drupal_add_css($module_path .'/shadowbox.css');
psynaptic’s picture

Status: Active » Fixed

All that file does (sites/all/modules/shadowbox/shadowbox.css) is add styling for the link to look like a big button.

playwithtoy’s picture

thanks

Status: Fixed » Closed (fixed)

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