1.) How do I setup a conditional variable so when there are no entries it posts the following text in the title position “There are no events at this time.”?
For example:
{exp:channel:entries channel="blog" orderby='expiration_date' sort='asc' limit="3" category="2"}
<li>
<div class="txt">
<h3><a href="http://{exp:brilliant_retail:path">{title}</a></h3>
<p> </div> </li> <br />
{/exp:channel:entries}
2.) How do I setup a conditional variable so when there is an empty field it doesn’t show? In this case, it’s an image. If I don’t have an image it shows a white box. I would like it to show nothing.
For example:
{exp:channel:entries channel="blog" limit="1"}
<div id="subject">
{blog_photo_detail}
{blog_content}
</div>
{/exp:channel:entries}Thanks.
mod edit: wrapped examples in code tags for readability.