I attempted the following and it’s failing. Seems like it should work, but no. (Below is the relevant code.)
{exp:channel:entries channel="documents" disable="trackbacks| pagination| member_data| custom_fields| categories" limit="1"}
<div class="grid_9">
{if body}
{body}
{if:elseif summary}
{if category=="3"}<h3>These are the unofficial highlights of the above-dated Board Meeting.</h3>
<p> This page will be updated when the final minutes are approved. Thanks for your patience.{/if}<br />
{summary}<br />
{if:else}<br />
This document is currently available as a downloadable PDF only.<br />
{if entry_file}<br />
<a href="http://{entry_file}%22class=%22positive" class="positive download">Download this Document</a><br />
{/if}<br />
{/if}<br />
</div><!-- / grid_12 --></p>
<p><br />
{/exp:channel:entries}What I’m trying to do is conditionally display…
<h3>These are the unofficial highlights of the above-dated Board Meeting.</h3>
<p>This page will be updated when the final minutes are approved. Thanks for your patience.…ONLY if the category of the entry is “3”
This is on a single entry (dynamic url-driven “detail” page. KWIM?)
Am I missing something?