Node Package: Event List


The eventlist is a great node to use when you need to display upcoming events on your website. Similar to the newslist the event list takes all the standard parameters including start date, an optional end date and event details, and as is the case for the newslist, automatically generates an RSS feed at:

http://www.myfancydomain.com/_rss

The event list by default will only show events in the future. However, it is possible to add a simple javascript function to a piece of text, or image, which will toggle between past and current events. (See below for examples.)

Screen Shots

Event List 

Event List
 

Event List 

Event List
 



wpEvents

By default the event list will only show events in the future. To create a toggle to show past events you can add the following javascript to text or an image:

Show Past Events:<a href="javascript:showPastEvents_eventlist_name()">Show Past Events</a>

Show Current Events:<a href="javascript:showCurrentEvents_eventlist_name()">Show Current Events</a>

Where to use this node

Attributes

NameUseValueHelp
sorted oneof ascending, no, descending Determines if events should be sorted ascending/descending by date or not sorted at all.
date-format oneof Weekday_Month_dd_yyyy, yyyy-mm-dd, yyyy/mm/dd, mm/dd/yyyy, dd/mm/yyyy, dd-Mon-yy, Wkd_Mon_dd, Wkd_dd_Month_yyyy, Wkd_Month_dd_yyyy, Month_dd_yyyy, Mon_yyyy These are the available date formats, they should be self-explanatory.
rss-highlight-events oneof no, yes If set to yes a separate RSS feed will be created listing only the events with attribute "show" set to 'highlight'.

Sub Nodes

NameTypeHelp
event wpEvent This is an instance of an event.

Sample

wpEvent

An instance of an event.

Where to use this node

Attributes

NameUseValueHelp
show oneof normal, highlight A separate RSS feed is created of all the events that are marked "'highlight'.
name optional This is a unique name given to an event which is used to create the URL. Eg. http:/www.myfancydomain.com/events/eventname1.html
demographic default any A comma-separated list of all the demographics that apply to this event. Eg. parent,student,alumni. Used in conjunction with the "demographics" attribute of an html node.
category oneof A list a pre-determined categories outlined by the client to categorize events.

Sub Nodes

NameTypeHelp
date wpDate The start date of the event in the format YYYYMMDD
enddate wpDate The end date of the event (optional) in the format YYYYMMDD
title wpStringL The title of the event, displayed in list and detail view.
description wpStringL A short description of the event, displayed in list and detail view.
details wpHtml The full details of the event, displayed in the detail view.
logo wpImage An image that will appear beside the event entry.
file wpFileL An instance of a file. (Eg. pdf, doc, xls, etc.)
url wpStringL This is where you can setup a redirect. If details are specified for this event then the link will be displayed at the bottom.
agenda wpAgenda The agenda for the event, displayed in the details view

Sample

More Information

Quick Navigation

| More

 

Search Site