Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi @KK,

Can some folders in a template with 'dynamic_folders' be un-delete-able?
Ideally, it would be achieved through declaring <cms:folder /> in 'cms:template' block. Alternatively, while that is not possible, through some hook, maybe?

I intend to keep folders 'public' and 'default' no matter what action is available in 'Manage folders' section.
2017-09-04-004242.png (25.5 KiB) Viewed 156 times

Hi, this was easy to solve after I gave it another minute.
I 'themed' a snippet 'content_list_inner_folders.html' and added there
exclude = 'public, default'

Code: Select all

            masterpage            = k_template_name
            orderby               = k_selected_orderby
            order                 = k_selected_order
            hierarchical          = '1'
            include_custom_fields = '1'
            paginate              = '1'
            limit                 = k_selected_limit
            base_link             = k_route_link
            exclude               = 'public, default'

Thanks, @KK, for such an easy way to quickly tweak backend in CouchCMS 2.0 and to @tim for inspiration :)
2 posts Page 1 of 1

Who is online

In total there are 4 users online :: 0 registered, 1 hidden and 3 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 3 guests