Closed (fixed)
Project:
Cooliris (PicLens formerly)
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2008 at 13:24 UTC
Updated:
21 Apr 2008 at 20:22 UTC
The javascript declaration is not included in my page (Drupal 5.7):
<script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js" />
(missing / at the end for closing !)
It works very nice with browser Plugin. Because the missing javascript declaration in the page the Slideshow works not without the plugin. A solution is to insert it manually in the page.tpl.php.
Thanks for this module !
Comments
Comment #1
swentel commentedIf it's not included, are you missing the $head variable in your page template ?
You also probably fixed a very annoying bug I had here during tests today. I got blank screens on some browsers (safari & ie) If you add that ' / ' (or
in the module (too lazy for a patch right now), does it work then ? (don't forget to toggle the checkbox in the settings off course).
Comment #2
tonino66 commentedNo, the $head variable is in the page template.
I checked the database and the variable piclens_image_gallery_js is set.
It seems that the function piclens_lite_javascript() is the problem.
I will check it with another site/theme, maybe it's an theme (SKY) problem.
The patch for targeting the links works fine.
Comment #3
swentel commentedI was wrong btw about the $head variable.
In drupal 5 I'm using drupal_set_content('conten' , '<script ...'); because using drupal_set_head gives page template errors.
Comment #4
swentel commentedI'm going to close this issue as at least one problem has been resolved by this report (closing script tag).
I've been testing some other themes also and inclusion was never a problem. If another theme comes up with problems, it might be a new feature request to make the the region selection configurable on the settings page.
Thanks for the report!