Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
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 ( e.g. as follows -
Code: Select all
<cms:if k_is_folder>
    <cms:if k_folder_name='one' >
        <cms:embed 'folder-one.html' />
    <cms:else_if k_folder_name='two' />
        <cms:embed 'folder-two.html' />
    <cms:else />
        <cms:embed 'folder-default.html' />

Hope it helps.
Hi KK,
This works beautifully! Thank you!
3 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest