Have a news summary template and two field definitions set up, using an if statement to show HTML depending on if field definition has any content.
I've used this code on other sites without any problem, but this one shows the HTML style if it is true or false.
Code: Select all
{if $entry->fieldsbyname.clientname != ''}
<p class="newsClientHeading">Client:</p>
<p class="newsClient">{$entry->fieldsbyname.clientname->value}</p>
{/if}
CMSMS version 1.11
News module version 2.12.7
Thank you


