macFFBgHack.png not included in distribution
Starminder - March 19, 2009 - 23:34
| Project: | album photos |
| Version: | 6.x-2.6-beta3 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Jump to:
Description
The file "macFFBgHack.png" is missing from ../sites/all/modules/photos/thickbox/macFFBgHack.png
Quick fix: Copy from Thickbox module to destination. Please include in next release.

#1
You enabled thickbox module?
If so, priority should be given to the use of its js. Please make changes:
<?php
// photos.module
function photos_init() {
drupal_add_js(drupal_get_path('module', 'photos').'/js/photos.js');
drupal_add_js(drupal_get_path('module', 'photos').'/js/jquery.jeditable.pack.js');
- drupal_add_js(drupal_get_path('module', 'photos').'/thickbox/thickbox-compressed.js');
- drupal_add_css(drupal_get_path('module', 'photos').'/thickbox/thickbox.css');
+ if(!module_exists('thickbox')){
+ drupal_add_js(drupal_get_path('module', 'photos').'/thickbox/thickbox-compressed.js');
+ drupal_add_css(drupal_get_path('module', 'photos').'/thickbox/thickbox.css');
+ }
drupal_add_css(drupal_get_path('module', 'photos').'/css/photos.css');
}
?>
#2
.png not included in latest beta 3.
I will try the thickbox patch as soon as I can get the module to work at all - at the moment it makes to where I cannot post a new blog entry.
#3
setting status to active
#4
here: http://trac.wpwp.org/browser/tags/1.4.9/thickbox/macFFBgHack.png?rev=115
#5
Thanks - I have the file, I think it needs to be included in the release. If not, then any new user of album photos will have this problem.
#6
I tried replacing the init hook with the thickbox code above, but got an error:
Parse error: syntax error, unexpected T_IF in /usr/home/hoslo/public_html/sites/all/modules/photos/photos.module on line 1197
#7
OK, tried again, no error, but I still don't see a thickbox view. Replaced code so it now looks like this:
//hook_initfunction photos_init() {
drupal_add_js(drupal_get_path('module', 'photos').'/js/photos.js');
drupal_add_js(drupal_get_path('module', 'photos').'/js/jquery.jeditable.pack.js');
if(!module_exists('thickbox')){
if(!module_exists('thickbox')){
drupal_add_js(drupal_get_path('module', 'photos').'/thickbox/thickbox-compressed.js');
drupal_add_css(drupal_get_path('module', 'photos').'/thickbox/thickbox.css');
}
}
drupal_add_css(drupal_get_path('module', 'photos').'/css/photos.css');
#8