One of my Channels has two custom fields: photo and photo_homepage. photo is the photo for the actual page, and photo_homepage is for the little blurb & thumbnail when the page is featured on the homepage. There are two photos in case the client wants to use a different thumbnail on the homepage than on the page itself.
So, on the homepage, I want an if statement…something like:
{if [photo_homepage exists]}
<img >
{if:else}
<img >
{/if}How do I check to see if photo_homepage exists?
thanks,
benjy