All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Possibility of displaying events within the Calendar tag

Steve 4 Sep 2012 08:19 question, complete

Hi Low,

I'm really loving the simplicity of Low Events, so easy to get up and running with and you've done a great job with the date & time picker.

I have a site where I would like to display a calendar full-width on a web page, rather than a small, sidebar sized calendar.

Would it be possible to use the Calendar tag to display event titles and links to those events within calendar date boxes? I understand this isn't an option of the Calendar tag alone but I'm unsure how best to approach additional programming. Could I use the {if events_on_day} tag and then loop through events on that day?

I've attached a simplified screenshot of my calendar. I'd like to replace the 'There is an event happening on this day' with the event title and link. Do you think this is possible?

Replies

  1. Steve 4 Sep 2012 08:35

    I think this question has kind of been answered here: https://getsatisfaction.com/low/topic...

    Advice seems to be to run the Calendar tag and the low_events:entries tag and then use javascript to overlay the events on the calendar? I'll see what I can work out.

  2. Low 4 Sep 2012 08:38

    Jamie Pittock managed it using JavaScript. Use both the Calendar and Entries tag, then use JS to move the entries to the calendar. Only caveat here is that it's best to hide days falling outside the given month.

  3. Steve 4 Sep 2012 09:02

    Thanks Low, got it working - just need to hide the days outside the month now...

  4. Low 4 Sep 2012 09:03

    You can use {if is_current == 'y'} ... {/if} to show days that belong to the current (given) month only.

  5. Steve 4 Sep 2012 09:24

    All sorted - thanks again!