For some reason the code below shows the list of all the folders instead of the specific folder the post belongs to.
Contents of events.php:
What might be the reason for such behaviour? And, how to fix it?
- Code: Select all
<cms:pages masterpage='events.php' folder=k_folder_name paginate='1' limit='6'>
<cms:show k_page_title />
<cms:folders masterpage='events.php'>
<a href="<cms:show k_folder_link />">
<cms:show k_folder_title />
</a>
</cms:folders>
</cms:pages>
Contents of events.php:
- Code: Select all
<cms:template title='Events' clonable='1' dynamic_folders='1' order='3'>
...
</cms:template>
What might be the reason for such behaviour? And, how to fix it?