jLightbox does not appear in selectlist

Sutharsan - September 25, 2007 - 11:22
Project:jQuery Lightbox
Version:5.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:sun
Status:closed
Description

I added jLightbox to an existing and working site with cck, imagefield and imagecache. On the admin/content/types//display page the jLightbox options did not appear in the image display select list. From looking at the code it appeared that the options in the select list are cached and the cache is not flushed (function content_clear_type_cache). As a workaround I went to the imagecache administration page and updated one of the presets. Now the imagefield display select list showed the jLightbox options.
I see other modules clear the cache in the .install file (number, text, userreference). Perhaps this is an option for jLightbox.

#1

sun - September 25, 2007 - 12:59
Assigned to:Anonymous» sun
Status:active» needs review

Seems to be a reasonable addition.

Patch needs to be tested.

AttachmentSize
jlightbox-DRUPAL-5_0.patch 397 bytes

#2

sun - September 28, 2007 - 13:29
Status:needs review» fixed

Committed.

#3

Anonymous - October 13, 2007 - 00:11
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.