#216078 - modified views image grouping so it groups by the name of the field.
authorStella Power
Thu, 31 Jan 2008 14:33:22 +0000 (14:33 +0000)
committerStella Power
Thu, 31 Jan 2008 14:33:22 +0000 (14:33 +0000)
Patch provided by kosmoscentral.

lightbox2.module

index 719845d..d98d825 100644 (file)
@@ -546,7 +546,7 @@ function theme_imagefield_image_imagecache_lightbox2($view_preset, $field, $item
 
   $rel = 'lightbox';
   if (variable_get('lightbox2_image_group', TRUE)) {
-    $rel = 'lightbox[cck_image_nodes]';
+    $rel = 'lightbox['. $field['field_name'] .']';
   }
 
   $node_link = '';