Hello,
I'm just wondering how it might be possible to show the content of special folders of the image gallery in in blog posts. I want to try this to make use of the mass upload provided in the gallery instead filling dozen repeatable regions one by one.
Here is my code:
1. Created a snippet which lists the folders of the gallery:
2. Created a drop down menu witch list all of these folders at the blog template:
3. and now my problem - which might be easy to solve - but I'm tired and my head is empty.
What is the right syntax to output the content of the chosen folder at the blog html?
I tried like this and some other versions but no luck.
Thank you very much for your help!
I'm just wondering how it might be possible to show the content of special folders of the image gallery in in blog posts. I want to try this to make use of the mass upload provided in the gallery instead filling dozen repeatable regions one by one.
Here is my code:
1. Created a snippet which lists the folders of the gallery:
- Code: Select all
Gallerie wählen
<cms:folders masterpage="gallery.php">
| <cms:show k_folder_title />
</cms:folders>
2. Created a drop down menu witch list all of these folders at the blog template:
- Code: Select all
<cms:editable
name="galleryname"
label="Gallerie auswählen"
opt_values='gallery_list.php'
dynamic='opt_values'
type='dropdown'
order='3'/>
3. and now my problem - which might be easy to solve - but I'm tired and my head is empty.
What is the right syntax to output the content of the chosen folder at the blog html?
I tried like this and some other versions but no luck.
- Code: Select all
<cms:set visible ="<cms:show galleryname/>" 'global' />
<cms:if visible != 'Gallerie wählen'>
<div class="pic gallery">
<cms:folders masterpage="gallery.php" folder_title="<cms:show galleryname/>">
<div class="img"><a href="<cms:show gg_image />" title="<cms:show g_desc />" rel="lightbox[<cms:show k_folder_name/>]" ><img src="<cms:thumbnail gg_image width="219" height="154" />" title="<cms:show k_page_title />" /></a></div>
</cms:folders>
</div>
</cms:if>
Thank you very much for your help!