ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Query a future date in the calendar

June 24, 2009 11:18am

Subscribe [1]
  • #1 / Jun 24, 2009 11:18am

    Louis L.

    13 posts

    I have entries (events) in my calendar for the next six months. I added them all on the same day and if I do a list of events like so:

    {exp:weblog:entries weblog="calendar" show_future_entries="yes" sort="desc" orderby="title"}
    <div class="eventtitle">{title}</div>
    {event}
    {/exp:weblog:entries}

    I get the list with ALL the events and the latest one I added on top. However, I was wondering if there was away I can query the actual date I select on the mini calendar when I’m adding my entry? The goal is to display just one event each day, the event just for that day and if there was nothing I can display something like “There are no events for today.”

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases