if-not-description
-
Is there an [if-not-description] or [if-no-description] conditional tag? I want to write something if and only if there is no description. My particular problem is that if there IS a desription (using html description) it always inserts a blank line after the description, so if I have event1 with a description and event2 without, I get in my listing
event1title
event1times
event1descriptionevent2title
event2times
event3title
event3times
etc.i.e. events with a description are separated from the next event, but those without aren’t.
If I insert a new line before or after each event, then of course I get double new lines if there is a description.
So I want to write something like
[if-no-description][break][/if-no-description]Is there some other workaroound? Other than going to the trouble of inserting dummy description in all the calendar entries?
- The topic ‘if-not-description’ is closed to new replies.