detect if custom field is empty

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
MySchizoBuddy
Regular
Posts: 340
Joined: Sun Jun 12, 2005 5:28 am

detect if custom field is empty

Post by MySchizoBuddy »

same as title :D
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: detect if custom field is empty

Post by garvinhicking »

Code: Select all

{if $entry.properties.ep_customfield != ""}
NOT EMPTY!
{else}
EMPTY!
{/if}
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply