Hello!
I have tried out a piece of code:
I have previously used cms:not_empty within the cms:pages tag - but getting a data item using cms:get_custsom_field obviously works differently. Is there a way to check for a global data item being there or not?
I have tried out a piece of code:
- Code: Select all
<cms:if "<cms:not_empty phone_number />" ><cms:get_custom_field 'phone_number' masterpage='globals.php' /> • </cms:if>
I have previously used cms:not_empty within the cms:pages tag - but getting a data item using cms:get_custsom_field obviously works differently. Is there a way to check for a global data item being there or not?