- This topic has 1 reply, 2 voices, and was last updated 9 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Hide empty attributes
Tagged: attributes
I use attributes as follows:
<p class="contact-box-title">Contact Details
<strong>Name</strong><br/>
#_ATT{Contact Name}{N/A}<br/><br/>
<strong>Email</strong><br/>
<a href="mailto:#_ATT{Contact Email}?subject=#_NAME - #j #M #Y">Send an Email</a><br/><br/>
<strong>Phone</strong><br/>
#_ATT{Contact Phone}{N/A}<br/><br/>
<strong>Related links</strong><br/>
<a href="http://#_ATT{Contact Website}">Visit Website</a>
</div>
How do I hide an attribute, for example if there is no website to link to?
See the doc about conditional tags (in the placeholder section ).