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.

calendar events

September 28, 2011 10:20am

Subscribe [3]
  • #1 / Sep 28, 2011 10:20am

    Chris Cooper

    17 posts

    Hello I was wondering how to make the calendar entries so the date reflects the actual date of the event and not the entry date.
    I made a {calendar_date}  variable and able to pull the date in the information section, but my calendar still reflects the entry_date.

    [Mod Edit: Moved to the EE 2 Tech Support forum]

  • #2 / Sep 29, 2011 2:18am

    John Henry Donovan

    12339 posts

    Hi Chris,

    To confirm, you made a custom date field?
    The standard calendar tag is based on the entry date and not a custom field. Is it the Calendar Tag that you are using?

    Is there any reason you aren’t using this date field?

  • #3 / Sep 29, 2011 12:00pm

    Chris Cooper

    17 posts

    Which date variable should I be using if I want to show the on the mini calendar the event date,  and not he date it was entered?
    here is the calendar I am using:
    {exp:channel:calendar switch="calendarToday|calendarCell" channel="calendar" show_future_entries="yes"}
    <table class=“calendarBG” border=“0” cellpadding=“6” cellspacing=“1” summary=“My Calendar”>
    <tr>
    <th><div class=“calendarMonthLinks”><<</div></th>
    <th colspan=“5”>{date format="%F %Y"}</th>
    <th><div class=“calendarMonthLinks”>>></div></th>
      </tr>
      <tr>
      {calendar_heading}
      <td class=“calendarDayHeading”>{lang:weekday_abrev}</td>
      {/calendar_heading}
      </tr>
      {calendar_rows}
      {row_start}<tr>{/row_start}

    {if entries}
      <td class=’{switch}’ align=‘center’>{day_number}</td>
      {/if}
      {if not_entries}
      <td class=’{switch}’ align=‘center’>{day_number}</td>
      {/if}
      {if blank}
      <td class=‘calendarBlank’>{day_number}</td>
      {/if}

      {row_end}</tr>{/row_end}
      {/calendar_rows}
      </table>
      {/exp:channel:calendar}

  • #4 / Sep 30, 2011 7:38am

    Sue Crocker

    26054 posts

    Hi, Chris.

    The mini calendar only works with the entry_date. If you want different functionality, you may want to explore Solspace’s Calendar module.

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

ExpressionEngine News!

#eecms, #events, #releases