Calendar Feed Example

Your page must have a .php (not .html) extension in order to use a calendar feed.

Above doctype, please include:

<?php require_once('/export/home/ocpa/public_html/msucommon/scriptsv2/cal/simplefeed.php'); ?>

Calling the function

Call the function within your code in the same place your events should be output.

<?php returnCalFeed(calendarID,numberEvents,fullDate,desciption,nullmsg) ?>
Example: <?php returnCalFeed(5,10,0,1,1) ?>


5 = calendar feed ID
10 = maximum number of events (limit 10)
0 = simple date with time / 1 = full date, no time
1 = description enabled / 0 = no description
1 = null message enabled / 0 = null message disabled (If there are no events to display it will display "No events at this time")

Additionally, the module can be completely styled with CSS

 

Examples



returnCalFeed(7,5);


returnCalFeed(7);


returnCalFeed(7,5,1,0);


returnCalFeed(7,5,1,1);
  • Historic Tour of Bozeman Tuesday, July 29, 2014 Tuesday, July 29th, 2014 from 9:45 am - 12:00 pm at Museum of the Rockies

    THIS EVENT HAS BEEN SOLD OUT. Climb aboard the Museum's 1936 Yellowstone Park Bus for a popular two-hour adventure through Bozeman's lively and colorful past. Learn the unique history of the city, visit Sunset Hills Cemetery, and tour historic residential areas.  

  • Historic Tour of Bozeman Thursday, July 31, 2014 Thursday, July 31st, 2014 from 9:45 am - 12:00 pm at Museum of the Rockies

    THIS EVENT HAS BEEN SOLD OUT. Climb aboard the Museum's 1936 Yellowstone Park Bus for a popular two-hour adventure through Bozeman's lively and colorful past. Learn the unique history of the city, visit Sunset Hills Cemetery, and tour historic residential areas.  

  • Historic Tour of Bozeman Tuesday, August 12, 2014 Tuesday, August 12th, 2014 from 9:45 am - 12:00 pm at Museum of the Rockies

    THIS EVENT HAS BEEN SOLD OUT. Climb aboard the Museum's 1936 Yellowstone Park Bus for a popular two-hour adventure through Bozeman's lively and colorful past. Learn the unique history of the city, visit Sunset Hills Cemetery, and tour historic residential areas.  

  • Historic Tour of Bozeman Thursday, August 14, 2014 Thursday, August 14th, 2014 from 9:45 am - 12:00 pm at Museum of the Rockies

    THIS EVENT HAS BEEN SOLD OUT. Climb aboard the Museum's 1936 Yellowstone Park Bus for a popular two-hour adventure through Bozeman's lively and colorful past. Learn the unique history of the city, visit Sunset Hills Cemetery, and tour historic residential areas.  

  • Catapalooza 2014! Thursday, August 21, 2014 From Thursday, August 21st, 2014 10:00 am to Friday, August 22nd, 2014 3:00 pm at Michael P. Malone Centennial Mall

    Catapalooza is a two day festival that welcomes new and returning students to MSU. Catapalooza corresponds with the final summer orientation and...



returnCalFeed(5,10,0,1);


returnCalFeed(94,10,0,1,0);

returnCalFeed(94,10,0,1);
  • No events at this time