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);
  • Werner Quartet Concert Saturday, August 23, 2014 Saturday, August 23rd, 2014 from 7:30 pm - 9:30 pm at Howard Hall, Reynolds Recital Hall

    The Werner Quartet Presents A Summer Celebration of Music and Youth on August 23rd, 7:30PM in Reynolds Hall, Montana State University.    

  • Wild West Wednesdays: Weapons, Machines, and Trade Skills of the Wild West Tuesday, September 2, 2014 From Tuesday, September 2nd, 2014 to Monday, September 22nd, 2014 at Museum of the Rockies

    Explore a different topic each week at MOR's Living History Farm from 3 to 5pm. This summer-long series of programming will showcase western weapons including rifles and muskets, simple machines including grain grinders and early farm tools, and other trade skills of the homesteading era. Activities vary weekly and will capture the interest of preschoolers and adults alike. 

  • Living History Farm Daily Tours Tuesday, September 2, 2014 From Tuesday, September 2nd, 2014 to Monday, September 22nd, 2014 at Museum of the Rockies

    Explore the Tinsley House and Living History Farm garden in daily tours with costumed interpreters. Learn about the Tinsley family and how Montana homesteaders lived in the 1890s, every day at 3:15pm. Each morning at 10:15am, enjoy a walk in the garden and learn how the Museum of the Rockies continues to preserve the past through the Living History Farm's heirloom garden. 

  • Cooking Demonstrations Daily at the Living History Farm Tuesday, September 2, 2014 From Tuesday, September 2nd, 2014 to Monday, September 22nd, 2014 at Museum of the Rockies

    Costumed interpreters will take you back in time as you learn how meals were prepared in the 1890s. Help them bake bread in a wood-burning stove, can vegetables from the garden, make butter, or grind meat for dinner. Become a part of the wonderful smells of home cooked meals every morning and afternoon at the Living History Farm. Demonstrations change daily and participation varies based on each activity. 

  • The Big Sky Tonight - Autumn Skies Tuesday, September 2, 2014 From Tuesday, September 2nd, 2014 to Thursday, January 1st, 2015 at Museum of the Rockies, Taylor Planetarium

    What's in your Big Sky Tonight? This fall we'll look at the Greek mythology of Perseus. But the Greeks weren't the only ones that looked up and made patterns in the stars: J.R.R. Tolkien did the same in modern times, and we'll look at a few of his creations as well. If you haven't seen The Big Sky Tonight recently, stop in - each season is a whole new show! 



returnCalFeed(5,10,0,1);


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

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