I've gone over a ton of the existing issues and couldn't get any clarity on this. So consider this a request for documentation :)
Here's my details:
1. I have a content type "article" that contains a multi-value filefield "slideshow images" (which uses the media.module chooser)
2. Each article node is it's own slideshow because it's field is multi-value
3. I'm creating a View that shows multiple article nodes, and therefore multiple slideshows. I've setup the view using the lightbox trigger field using this method.
4. In the view I'm displaying my 'trigger fields' as a grid of images. Then in the "Grid" settings, I'm choosing to "Group by Title" (ie. the node title field)
5. So far so good...it gives me the display I want...however:
6. When I click the first image on the first node, it includes ALL images from the page in the slideshow (I only want the images from that single node)
7. So, I need to use the "lightbox group" settings in the lightbox trigger field, right? I have "group by node id and field" in the Lightbox 2 mutliple settings. However the "Automatic generated group" isn't working, so I figure I need to create a 'custom group' using the field below
8. I enter in a token [title] hoping it'll generate a custom group for each unique title...but that field doesn't accept tokens..which means no dynamic groupings.
How can I accomplish what I'm looking for? It seems I need a dynamically named lightbox group for each node, but I see no way to make that happen. Is the rest of my setup correct?
Comment | File | Size | Author |
---|---|---|---|
#1 | add_tokens_to_custom_group_field-1585958-1.patch | 1.4 KB | willvincent |
Comments
Comment #1
willvincent CreditAttribution: willvincent commentedHaven't tested it, but I believe this patch will let you use tokens in the custom group field.
Comment #2
Rob_Feature CreditAttribution: Rob_Feature commentedYou rock Will...works like a charm. Marking as reviewed and tested.
Comment #3
willvincent CreditAttribution: willvincent commentedChanging to feature request as the patch provides additional functionality.
Comment #4
genjohnson CreditAttribution: genjohnson commentedThis is exactly what I needed and it works great. Thanks!
Comment #5
Rob_Feature CreditAttribution: Rob_Feature commentedChanging title so it reflects what we're actually dealing with here.
Comment #6
Rob_Feature CreditAttribution: Rob_Feature commentedMarking this to be ported. A simple patch that gives REALLY needed functionality.