Hello, I'm trying to make the list view have a certain design when users are viewing the list of pages in a specific folder and another design if they look at a different folder. Is it possible to do this? I would greatly appreciate any help in achieving this goal, thanks in advance!
You may use snippets (http://docs.couchcms.com/tags-reference/embed.html) e.g. as follows -
- Code: Select all
<cms:if k_folder_name='one' >
<cms:embed 'folder-one.html' />
<cms:else_if k_folder_name='two' />
<cms:embed 'folder-two.html' />
<cms:embed 'folder-default.html' />
Hope it helps.