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);
  • College of Arts & Architecture NEW STUDENT WELCOME Tuesday, September 2, 2014 Tuesday, September 2nd, 2014 from 5:00 pm - 7:00 pm at Cheever Hall, Lawn

    College of Arts & Architecture NEW STUDENT WELCOME PARTY held on Lawn between Haynes/Cheever.  

  • Start Used Public Reception Thursday, September 4, 2014 Thursday, September 4th, 2014 from 6:30 pm - 8:30 pm at Haynes Hall, Copeland Gallery

    The Helen E. Copeland Gallery opens its fall exhibition calendar with "Start Used", an exhibition that gives the School of Art at MSU Bozeman's MFA candidates the opportunity to present a body of work.

  • Farm Festival at MOR's Living History Farm Sunday, September 7, 2014 Sunday, September 7th, 2014 from 1:00 pm - 5:00 pm at Museum of the Rockies

    Come and enjoy the Living History Farm in a celebration of the fall harvest time on a homestead. Costumed interpreters will pull out all the stops as they demonstrate blacksmithing, quilting, weaving, basket making, and so much more. You can enjoy garden tours and experience what life was like in 1890s Montana. Live music will be provided by the Gallatin Grass Project. 

  • Muir String Quartet Thursday, September 11, 2014 Thursday, September 11th, 2014 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    The Muir String Quartet will perform on Thursday, September 11th at 7:30 in Reynolds Recital Hall.  The Muir Quartet features Peter Zazofsky on the violin, Steven Ansell on the violin, Lucia Lin on the violin and Michael Reynolds on the cello.  The program for the evening includes: Barber Dover Beach, Shostakovich Quartet #3, Debussy Quartet Tickets at Cactus Records or ERA Landmark Realty

  • Muir String Quartet Saturday, September 13, 2014 Saturday, September 13th, 2014 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    The Muir String Quartet will perform on Thursday, September 13th at 7:30 in Reynolds Recital Hall.  The Muir Quartet features Peter Zazofsky on the violin, Steven Ansell on the violin, Lucia Lin on the violin and Michael Reynolds on the cello.  The program for the evening includes: Wolf Italian Serenade, Janacek Quartet #2, Dvorak Quartet Op. 61. Tickets at Cactus Records or ERA Landmark Realty    



returnCalFeed(5,10,0,1);


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

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