Hi, I would like to ask for some help getting the 'my_image' variable from the repeatable 'my_gallery' set in the dynamic folder template to show in the pageview of the cloned child. This image is to show the top level folder the article resides in. This can be one or more folders in (dynamic)...
Here is a selection of the template code:
And the machines-folders.php code:
Thanks in advance for your help or pointers in to the right direction!
Here is a selection of the template code:
- Code: Select all
...
<cms:template title='Verpakkingsmachines' clonable='1' dynamic_folders='1' folder_masterpage='machines-folders.php'>
<cms:each k_supported_langs as='lang' key='lc'>
...
</cms:each>
<cms:repeatable name='my_gallery' label='Gallery' order='2'>
<cms:editable name='my_image' type='image' width='2048' height='2048' show_preview='1' preview_width='150' />
</cms:repeatable>
...
</cms:template>
...
And the machines-folders.php code:
- Code: Select all
...
<cms:template title='Machine Folders' clonable='1' hidden='1'>
<cms:each k_supported_langs as='lang' key='lc'>
...
</cms:each>
<cms:repeatable name='my_gallery' label='Gallery' order='2'>
<cms:editable name='my_image' type='image' width='2048' height='2048' show_preview='1' preview_width='150' />
</cms:repeatable>
...
</cms:template>
Thanks in advance for your help or pointers in to the right direction!