Conditionals not working properly
-
I have the following in the event display builder:
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">[event-title]</h3>
</div>
<div class="panel-body">
<div><span>Starts in:</span> [start-human]
([start-date] - [start-time])</div>
<div><span>Ends: </span>[if-multi-day] [end-date] -[/if-multi-day]
[end-time]</div>
</div>
</div>For events that do NOT have a description, it fails to output [end-time] – it just outputs blank.
Also perhaps related, I’ve noticed that if I put in “custom” HTML attributes, it filters them out when saving. E.g. if I give a rel attribute to a attr tag.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Conditionals not working properly’ is closed to new replies.