Events Made Easy Forums How do I … Hide empty attributes

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #53683
    Anonymous
    Inactive

    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?

    #53741
    Franky
    Keymaster

    See the doc about conditional tags (in the placeholder section ).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top