Hello,
thanks for the module, it works great!
I am using it for a 'NewsHolder' to display pages of a type called 'NewsArticlePage'. These Pages contain multiple Images and some Text. The Images pop up nicely with thickbox. The Images are added to the 'NewsArticlePage' using the DataObjectsManager.
Now all works, except that I cannot use variables from the parent page NewsHolder while inside a nested loop through the ImageDataobjects.
$Top and $Parent do not work.
Lets say I have this in a template NewsHolder.ss
<% control Children %>
$Pos //this gives me the current Position
<% control ImagesToLoopThrough %>
$Top.Pos //this does NOT work
<% end_control %>
<% end_control %>
I did a long search and tried out a lot, but could not find a way to access the page variables inside the loop.
Thanks a lot for your help.
Hilde from Germany