Conditional attribute ?
-
Is it possible to use attributes on a condition ?
I read this post and read this page but it doesn’t help me.
As an example, please look at this post.
On the bottom you see a logo for findhills, which is generated from a custom field.
I would like to add it below the location of the event, but I can’t use custom fields there, so I would need an attribute, but not all events will get track info, so I don’t add it, the image links to nothing.
In the full calender I use this attribute:
#_ATT{shortname}{#_EVENTNAME}
which works nicely.but I need something like
if #_ATT{x} { <div><a href="#_ATT{x}"><img src="logo" alt="" /></a></div> }
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Conditional attribute ?’ is closed to new replies.