Closed (duplicate)
Project:
Image
Version:
5.x-1.x-dev
Component:
image_gallery
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Sep 2007 at 18:36 UTC
Updated:
6 Sep 2007 at 18:39 UTC
As coded, gallery descriptions show up when viewing the parent gallery, but not in their own nodes.
The following one-line patch makes gallery descriptions show up in their own nodes as well as in parent gallery nodes.
--- orig/image/contrib/image_gallery/image_gallery.module 2007-08-22 13:39:45.000000000 -040
+++ patched/image/contrib/image_gallery/image_gallery.module 2007-09-06 14:08:13.000000000 -0400
@@ -167,7 +167,7 @@
$breadcrumb[] = array('path' => $_GET['q']);
menu_set_location($breadcrumb);
- $content = theme('image_gallery', $galleries, $images);
+ $content = '<div class="description">' . check_markup($gallery->description) . "</div>\n" . theme('image_gallery', $galleries, $images);
return $content;
}
| Comment | File | Size | Author |
|---|---|---|---|
| image_gallery_2.patch | 527 bytes | pillarsdotnet |
Comments
Comment #1
drewish commentedsee http://drupal.org/node/173594 it has a patch.