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);


returnCalFeed(5,10,0,1);
  • University Graduate Council Wednesday, January 21, 1:00pm Wednesday, January 21st, 2015 from 1:00 pm - 1:00 pm at Animal Biosciences Building, 138

    The University Graduate Council will meet in the Animal Biosciences Building, Rm 138 from 1:00 to 3:00 p.m.  

  • Faculty Recital Wednesday, January 21, 7:30pm Wednesday, January 21st, 2015 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Gregory Young, clarinet, Susan Makeever, flute, and Stefan Stern, piano, will perform works by Johannes Brahms, Libby Larsen, John Novacek, and others, in Reynolds Recital Hall, at 7:30pm, January 21, 2015.

  • Denine LeBlanc, Piano Monday, January 26, 7:30pm Monday, January 26th, 2015 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Dr. Denine LeBlanc will present a concert of contemporary and classical works for piano. The concert will include the Montana premiere of Saints Rising, a work by MSU faculty composer Carrie Leigh Page.

  • A Conversation from the Top: National Executives from Northwestern Mutual on Ethics and Careers Thursday, January 29, 3:00pm Thursday, January 29th, 2015 from 3:00 pm - 4:30 pm at Strand Union Building, Procrastinator Theater

    Three National Executives from Northwestern Mutual will be participating in this event: "A Conversation from the Top: National Executives from...

  • Guest Artist Recital, James Reid - Classical Guitar Thursday, January 29, 7:30pm Thursday, January 29th, 2015 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Classical guitarist and University of Idaho music professor, James Reid will present a solo recital on Thursday, January 29 at 7:30 pm in Reynolds Recital Hall on the MSU campus. 

  • University Graduate Council Wednesday, February 4, 1:00pm Wednesday, February 4th, 2015 from 1:00 pm - 3:00 pm at Animal Biosciences Building, 138

    The University Graduate Council will meet in the Animal Biosciences Building, Rm 138 from 1:00 to 3:00 p.m.

  • Muir String Quartet Wednesday, February 4, 7:30pm Wednesday, February 4th, 2015 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    In its 35th season, the Muir String Quartet has long been acknowledged as one of the world's most powerful and insightful ensembles, distinguishing itself among audiences and critics with its "exhilarating involvement" (Boston Globe),"impeccable voicing and intonation" (San Francisco Examiner) and "unbridled musicality" (American Record Guide). The quartet is made up of: Peter Zazofsky, violin; Steven Ansell, violin; Lucia Lin, violin; and Michael Reynolds, cello. The program for the evening includes: Mozart "Dissonant" Quartet, Janacek Quartet #1, Smetana Quartet

  • Muir String Quartet Friday, February 6, 7:30pm Friday, February 6th, 2015 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    In its 35th season, the Muir String Quartet has long been acknowledged as one of the world's most powerful and insightful ensembles, distinguishing itself among audiences and critics with its "exhilarating involvement" (Boston Globe),"impeccable voicing and intonation" (San Francisco Examiner) and "unbridled musicality" (American Record Guide). The quartet is made up of: Peter Zazofsky, violin; Steven Ansell, violin; Lucia Lin, violin; and Michael Reynolds, cello. The program for the evening includes: Mozart "Dissonant" Quartet, Janacek Quartet #1, Smetana Quartet

  • Graduate Student Workshop: Electronic Theses & Dissertations (ETDs) Tuesday, February 10, 2:00pm Tuesday, February 10th, 2015 from 2:00 pm - 3:00 pm at Strand Union Building, 235

    Join a discussion with the MSU Library and The Graduate School to learn about about how your research is archived at the Library and other library...

  • University Graduate Council Wednesday, February 18, 1:00pm Wednesday, February 18th, 2015 from 1:00 pm - 3:00 pm at Animal Biosciences Building, 138

    The University Graduate Council will meet in the Animal Biosciences Building, Rm 138 from 1:00 to 3:00 p.m.



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

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