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.

Don't link if Calendar Empty

October 15, 2007 2:12am

Subscribe [1]
  • #1 / Oct 15, 2007 2:12am

    beezle

    2 posts

    I am using the “big” calendar for my site. I have been mulling over this for several hours and cannot figure it out.

    Currently, the event is linked to a calendar_detail page which shows more information about the event which stored in a custom field “event_info”.

    If “event_info” is empty, I don’t want the calendar entry to be linked.

    This is what I am trying to do, but it doesn’t work:

    {entries}
    {if event_info ==""}
      <div id=“calendarLink”>{title}</div>
    {if:else}
      <div id=“calendarLink”>{title}</div>
    {/if}
    {/entries}

    Any ideas?
    thanks

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

ExpressionEngine News!

#eecms, #events, #releases