Hi,
in fact things are slightly more complicated than the thread title may suggest.
In a resource, call it 'mother', there is a getResources call that pulls in two subresources, 'daughter1' and 'daughter2'. These two use a template to which a MIGX type TV is assigned (call it PF-Galerie). Through this TV, I add small series of images to the daughters, for a simple colorbox gallery. The contents of mother should consist, among other things, of the daughters' galleries, separated from each other.
In the getResources template, PF1, there is a MIGX call to PF-Galerie, using a MIGX tpl called PF-Galerie. As you will know, here happens the image templating. Now in this tpl, PF-Galerie, I need to get the ID of the respective daughter, but
gives me the ID of the mother.
gives me nothing at all, and
gives me a numbering of the images.
In fact I need to keep the galleries of the daughters apart. If I understood it right, Colorbox identifies galleries via the rel attribute. I plan to use the daughter ID for that task, adding it to the rel attribute, but I don't see how to get my hands on it.
All contributions are appreciated!
[ed. note: neo2.0 last edited this post 15 years, 1 month ago.]