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);
  • Introduction to Quickbooks class Tuesday, October 21, 5:30pm Tuesday, October 21st, 2014 from 5:30 pm - 8:30 pm at Downtown Education Center

    Learn the basics of QuickBooks Premier Accountant Edition 2013 in a hands-on computer lab experience. Course occurs on Oct. 21 - 30 from 5:30 - 8:30 p.m.

  • University Graduate Council Wednesday, October 22, 8:00am Wednesday, October 22nd, 2014 from 8:00 am - 9:30 am at Animal Biosciences Building, 138

    The University Graduate Council will meet in Animal Biosciences Building Rm 138 from 8:00 to 9:30 a.m.

  • Sun Power! The Past, Present, and Future of Solar Energy Wednesday, October 22, 2:30pm From Wednesday, October 22nd, 2014 2:30 pm to Wednesday, November 19th, 2014 4:30 pm at Hope Lutheran Church

    This course will encompass the basic science, applications, economics, and policies of solar energy principles and technologies.

  • Ecology Seminar Series Thursday, October 23, 3:30pm Thursday, October 23rd, 2014 from 3:30 pm - 4:30 pm at Lewis Hall, 304

    Jon Swenson, Professor, Department of Ecology and Natural Resource Management, Norwegian University of Life Sciences, will present "Fear in the Woods: Human - Brown Bear Encounters in Scandinavia" at 3:30 pm in 304 Lewis Hall.

  • "The Language Archive" by Julia Cho Thursday, October 23, 7:30pm Thursday, October 23rd, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • "The Language Archive" by Julia Cho Friday, October 24, 7:30pm Friday, October 24th, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • "The Language Archive" by Julia Cho Saturday, October 25, 7:30pm Saturday, October 25th, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • Concert of the International Alliance for Women in Music Sunday, October 26, 3:00pm Sunday, October 26th, 2014 from 3:00 pm - 4:30 pm at Howard Hall, Reynolds Recital Hall

    The International Alliance for Women in Music and the MSU School of Music will present the 2014 IAWM Annual Concert, including works by and about women. 

  • Photoshop Basics class begins Monday, October 27, 9:00am Monday, October 27th, 2014 from 9:00 am - 12:00 pm at Downtown Education Center

    A five-session hands-on Photoshop class begins Monday, Oct. 27 through Extended University.

  • Food Day, Sponsored by the Montana Student Dietetics Association Monday, October 27, 10:00am Monday, October 27th, 2014 from 10:00 am - 2:00 pm at Strand Union Building, Ballroom B, C, & D

    Food Day is a fun event celebrating healthy, local food using fun and interactive booths on a variety of topics. Come learn about real food, meet local producers and sample some delicious, healthy recipes at the same time!



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

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