In a list view displaying clonable pages I would like to show a message in the case that there are no data sets in the system or all data sets are unpublished.
Currently, I am using the following:
However, I have unpublished pages, so the condition k_folder_pagecount='0' is logically not met and nothing is displayed.
Is there a way to check if all clonable pages are unpublished?
Currently, I am using the following:
- Code: Select all
<cms:if k_folder_pagecount='0' >
<h2>There are currently no open positions.</h2>
</cms:if>
However, I have unpublished pages, so the condition k_folder_pagecount='0' is logically not met and nothing is displayed.
Is there a way to check if all clonable pages are unpublished?