hey all
im trying to get an image to popup in shadowbox on my test page
ive found one of the diffs is that a css file is missing in the header
(which ive opened in a different post)
and the other problem is this
shadowbox doesnt init
so on the page in shadowbox admin where shadowbox does work
the last few lines of codes on the bottom of the page source looks like this
<script type="text/javascript" src="/modules/shadowbox/shadowbox_auto.js?g"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
Shadowbox.init(Drupal.settings.shadowbox);
//--><!]]>
</script>
my test page doesnt have this
is there something im not checking off in admin
that prevents the above code from rendering in my test pages page source?
thanks for your help
toy
Comments
Comment #1
playwithtoy commentedhey all - this is def the issue since i just manually put the init in my php content box
and it worked
now how can i get the init to automatically inject?
Comment #2
playwithtoy commentedok after a little more snooping around
i found shadowbox_construct_header() in shadowbox.module
it looks like this
so basically the code is there to add missing lines
but for some reason its not outputing to the page source correctly
any ideas?
thanks!
toy
Comment #3
psynaptic commentedI don't really know what it could be. Must be something specific to your setup as it's working for others.
Comment #4
playwithtoy commentedyeah i think its my configuration
cause ive installed another module (finder)
and it also is not injecting fully
Comment #5
psynaptic commentedClosing due to inactivity. Feel free to reopen if you can reproduce the problem.