How to add class="not-published" to unpublished node in Custom tree
Hi guys,
I have a custom section which displays a list of content nodes similar to the Content tree.
However, in the back office, when I unpublish a content node, the fade out effect (i.e. the element class "not-published") is not added to the node, meaning that its difficult to determine which nodes are published or unpublished.
How do I go about adding the not-published class to the content nodes which have been unpublished in my custom tree?
How to add class="not-published" to unpublished node in Custom tree
Hi guys,
I have a custom section which displays a list of content nodes similar to the Content tree.
However, in the back office, when I unpublish a content node, the fade out effect (i.e. the element class "not-published") is not added to the node, meaning that its difficult to determine which nodes are published or unpublished.
How do I go about adding the not-published class to the content nodes which have been unpublished in my custom tree?
Cheers
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.