atisz wrote: Sounds great, but unfortunately, it's not working for me. Do I do something wrong? Here is my code:
- Code: Select all
<cms:if k_is_folder>
<cms:folders childof=k_folder_name orderby='weight' order='asc' depth='1' >
....
</cms:folders>
</cms:if>
Will this conditional work for the last folder? 'childof' lists deeper folders, so what if there is nothing there?