How to show something when PODS is empty
-
Hi
I have a PODS defined in a page (and a modified one that will call a template), and thought would be hand to use the If shortcode to select a different block of text when the PODS returns no entries. However I am having difficulty as it seems when there are no records, the test for if a field exists never gets executed as it never runs the template or code within the PODS definition.
So what mechanism exists to either show a different template when no records or at least a way in the PODS /PODS shortcode block to If/ELSE and output something else? Seems easy, but I can not see/find a way and really want to avoid having to inject PHP code or theme alterations.
Many thanks
Clifford
- The topic ‘How to show something when PODS is empty’ is closed to new replies.