Low Events url_title in calendar link?
Hey Lodewijk,
We've implemented LowEvents (nice job btw), but i was wondering if we could get an url_title in the calendar-link?
Something like;
{if events_on_day}
[ a href = "{path="training/agenda/{url_title}"} " class=" white nodec block" ]{day_number}[/a]
{if:else}
so i can link to an event page directly.
Is this possible? (or mb a workaround?)
br
Koen
Replies
Low 21 Apr 2015 07:16
LE won't add any entry/event info in the Calendar tag for performance reasons. (if it did, your code wouldn't account for multiple events on a single day)
However, there's a workaround with JS, see this gist: https://gist.github.com/jamiepittock/...
Koen Holleboom 21 Apr 2015 11:46
Cool, thanks!