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);
  • Combust-A-Bowl Saturday, November 22, 2014 Saturday, November 22nd, 2014 from 8:30 pm - 11:55 pm at Strand Union Building, Rec. Center

    Every Friday and Saturday night come enjoy bowling under the black lights, for just an hourly price of $7 enjoy all the games you can! Come relax...

  • MSU Concerto/Aria Competition Finals Monday, November 24, 2014 Monday, November 24th, 2014 from 7:00 pm - 8:00 pm at Howard Hall, Reynolds Recital Hall

    Each year the MSU School of Music holds a concerto/aria contest for students. The final round may include up to six students, and this performance is open to the public.

  • Season of Light Tuesday, December 2, 2014 From Tuesday, December 2nd, 2014 10:00 am to Thursday, January 1st, 2015 12:00 am at Museum of the Rockies, Taylor Planetarium

    A Taylor Planetarium original production, now re-mastered for Digistar 5! We re-mastered our holiday classic for the new digital format last year. If you haven't seen this show in a few years make sure to check out its all-new look! Learn about the many holiday customs that make the winter more festive. Yule logs, Christmas trees, the Hanukkah Menorah, luminaries, Santa Claus - all were taken from different cultures to fill the dark months of the year with more light.   

  • University Chorus, University Band and Brass Choir Concert Wednesday, December 3, 2014 Wednesday, December 3rd, 2014 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Concert and Holiday selections performed by the University Chorus, University Band and Brass Choir

  • One Woman, One Vote Film Screening Thursday, December 4, 2014 Thursday, December 4th, 2014 from 6:00 pm - 8:00 pm at Museum of the Rockies, Hager Auditorium

    Join Museum of the Rockies for a film screening of the PBS Experience documentary One Woman, One Vote, followed by a panel discussion about the film and Women's Suffrage. 



returnCalFeed(5,10,0,1);


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

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