[Plugin: Connections] only display field if it’s filled in?
-
I decided to use the notes section as an expanded bio area so that the bio does not take up so much space.
I added the following to my template
<div id="accordion"> <div class="sermon_content"><?php echo $entry->getNotes() ?></div> <a class="trigger" rel="Close" href="#">Click here for more info:</a> </div>
What I can’t figure out is how to wrap that code in a conditional statement.. i.e. only show if there is actually information in the getNotes field for the given user…
(only want the Click here for more info divs above to show up if there is info in the getNotes)Can you lend a hand?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Connections] only display field if it’s filled in?’ is closed to new replies.