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);
  • Paws to de-Stress Friday, April 25, 2014 Friday, April 25th, 2014 from 9:00 am - 11:00 am at Renne Library, Library Commons

    MSU Library will host "Paws to de-Stress" in the Library Commons during Dead Week and Finals Week.

  • School of Music Gala Concert Friday, April 25, 2014 Friday, April 25th, 2014 from 7:30 pm - 10:00 pm

    The gala, a benefit for the school, will feature performances by music students, MSU students from other disciplines and music faculty.

  • Junior Archeology Family Day Saturday, April 26, 2014 Saturday, April 26th, 2014 from 10:00 am - 12:00 pm at Museum of the Rockies

    Help unlock secrets of the past through artifacts and with a variety of hands-on activities that dig deep into Montana's rich history.

  • Holocaust Memorial Day Sunday, April 27, 2014 Sunday, April 27th, 2014 at 4:00 pm at Emerson Center for the Arts and Culture, Ballroom

    Music and the story of a local holocaust survivor will be featured in Bozeman's Holocaust Memorial Day on April 27, sponsored by the Diversity Awareness Office.

  • Paws to de-Stress Monday, April 28, 2014 Monday, April 28th, 2014 from 10:00 am - 12:00 pm at Renne Library, Library Commons

    MSU Library will host "Paws to de-Stress" in the Library Commons during Dead Week and Finals Week.



returnCalFeed(5,10,0,1);
  • MSU Library Innovative Learning Studio Demonstrations Friday, April 25, 11:00am Friday, April 25th, 2014 at 11:00 am at Renne Library, Innovative Learning Studio

    The MSU Library will host demonstrations of the new Innovative Learning Studio space and technologies on Friday, April 25 at 11 a.m., noon, and 1 p.m.

  • MSU Library: Enhancing the Classroom Experience with Mobile Solutions Friday, April 25, 2:00pm Friday, April 25th, 2014 from 2:00 pm - 3:00 pm at Renne Library, Innovative Learning Studio

    The MSU Library will host the workshop "Enhancing the Classroom Experience with Mobile Solutions" in its new Innovative Learning Studio on Friday, April 25 from 2-3 p.m.

  • Bobcat Fest on Main Friday, April 25, 5:00pm Friday, April 25th, 2014 from 5:00 pm - 8:00 pm at Bozeman, MT, Downtown Bozeman

    The MSU Alumni Foundation, the Downtown Bozeman Partnership and Montana State University will host the 6th Annual Bobcat Fest downtown on Main Street.

  • ESCI Spring Picnic Friday, April 25, 5:00pm Friday, April 25th, 2014 from 5:00 pm - 10:00 pm

    Earth Sciences will host a spring picnic at the Beall Park Center. This event is for Earth Sciences facutly, staff, students and their friends and...

  • School of Music Gala Concert Friday, April 25, 7:30pm Friday, April 25th, 2014 from 7:30 pm - 10:00 pm

    The gala, a benefit for the school, will feature performances by music students, MSU students from other disciplines and music faculty.

  • Conner Firstman Celebration Saturday, April 26, 4:00pm Saturday, April 26th, 2014 from 4:00 pm - 6:00 pm at Bobcat Stadium, South End Zone

    Join us on April 26, at 4pm in Bobcat Stadium as we celebrate the life of Conner Firstman: extraordinary student, outstanding friend, son and brother; and true sense of what it means to be a Bobcat. 

  • Sunday Night Mulit-Media Series Saturday, April 26, 7:30pm From Saturday, April 26th, 2014 7:30 pm to Sunday, April 27th, 2014 9:00 pm at Black Box Theatre

    The final Sunday Night Multimedia Series concerts of the year will feature senior capstone and first-year projects by MSU music technology students. April 26 and 27, 2014

  • Final examinations Monday, April 28 From Monday, April 28th, 2014 to Saturday, May 3rd, 2014 at N/A

    N/A

  • Excel Advanced class begins Monday, April 28, 9:00am From Monday, April 28th, 2014 9:00 am to Wednesday, April 30th, 2014 12:00 pm at Downtown Education Center

    This course is an opportunity for Excel power-users to tell us what more you want to know!

  • Reception for Major Scholarship Winners and National Finalists Wednesday, April 30, 4:00pm Wednesday, April 30th, 2014 from 4:00 pm - 5:30 pm at Strand Union Building, Ballrooms, A & B

    Faculty, staff and students are cordially invited to attend a reception for major scholarships winners, honorable mentions and national finalists.



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

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