I'm building a dyanamic folders photo gallery. I've been using the below code successfully for the embeded list view to see only what each folder has:
My gallery has a mini thumbnail broswer in the page view that is using the same code - but it's not behaving correctly. It only shows images from the root folder. It won't display the correct folder contents. How can I add some kind of conditional code that figures out what folder the current page view resides in? I've also had issues with looping threw just the folder content. It loops threw the entire root and sub folder content. My navigation is at the page level, not list view level. Thanks for any insight!
- Code: Select all
<cms:pages folder=k_folder_name include_subfolders='0' >
<a href="<cms:show k_page_link/>" class="transition">
<img src="<cms:show gg_thumb/>" alt="<cms:show image_alt/>"/>
</a>
</cms:pages>
My gallery has a mini thumbnail broswer in the page view that is using the same code - but it's not behaving correctly. It only shows images from the root folder. It won't display the correct folder contents. How can I add some kind of conditional code that figures out what folder the current page view resides in? I've also had issues with looping threw just the folder content. It loops threw the entire root and sub folder content. My navigation is at the page level, not list view level. Thanks for any insight!