Montana State University

Web and Digital Communications

Montana State University
P.O. Box 172220
Bozeman, MT 59717-2220

Director:

Jacob Dolan
jake@montana.edu

Service and Support:

websupport@montana.edu

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);
  • No events at this time


returnCalFeed(7);
  • No events at this time


returnCalFeed(7,5,1,0);
  • No events at this time


returnCalFeed(7,5,1,1);
  • No events at this time


returnCalFeed(5,10,0,1);
  • Family Business Program On the Road - Great Falls Thursday, May 23, 3:00pm Thursday, May 23rd, 2013 from 3:00 pm - 5:00 pm at Great Falls College MSU, B101

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Microbiology Seminar Friday, May 24, 1:00pm Friday, May 24th, 2013 from 1:00 pm - 2:00 pm at Chemistry and Biochemistry Building, Byker Auditorium

    Please join the Microbiology Department in welcoming Josh Van Dyke-Blodgett, Faculty Candidate for Microbiology for a Seminar about, 'Microbes, Molecules and (genome) Mis-Annotation: Exploring the How and Why of bacterial secondary metabolism".

  • Memorial Day Holiday Monday, May 27 Monday, May 27th, 2013 at N/A

    No Classes; Offices Closed

  • Family Business Program On the Road - Bozeman Tuesday, May 28, 3:00pm Tuesday, May 28th, 2013 from 3:00 pm - 5:00 pm at Strand Union Building, Room 233

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Family Business Program On the Road - Miles City Wednesday, May 29, 3:00pm Wednesday, May 29th, 2013 from 3:00 pm - 5:00 pm at Miles Community College, 106

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Family Business Program On the Road - Billings Thursday, May 30, 3:00pm Thursday, May 30th, 2013 from 3:00 pm - 5:00 pm at Montana State University - Billings, Room 335

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Family Business Program On the Road - Helena Monday, June 3, 3:00pm Monday, June 3rd, 2013 from 3:00 pm - 5:00 pm at Helena College, 125

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Family Business Program On the Road - Kalispell Tuesday, June 4, 9:00am Tuesday, June 4th, 2013 from 9:00 am - 12:00 pm at Flathead Valley Community College, 144 A & B

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.

  • Getting Started with D2L - Basics Wednesday, June 5, 2:00pm Wednesday, June 5th, 2013 from 2:00 pm - 3:30 pm at Engineering and Physical Sciences Building, Burns Technology Center, 127

    This hour and a half hands-on workshop covers basics of Desire2Learn Learning Environment. 

  • Family Business Program On the Road - Missoula Wednesday, June 5, 3:00pm Wednesday, June 5th, 2013 from 3:00 pm - 5:00 pm at University of Montana, 119

    "Understanding the Future Customer" will be presented by James Oakley, associate professor of marketing inthe College of Business at Montana State University.



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

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