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);
  • Advanced Acting Showcase Friday, November 21, 2014 Friday, November 21st, 2014 from 7:00 pm - 8:00 pm at Black Box Theatre

    Good acting, interesting projects - a culmination of the work of Professor Stephanie Campbell's Advanced Acting class.

  • Combust-A-Bowl Friday, November 21, 2014 Friday, November 21st, 2014 from 8:30 pm - 11:55 pm at Strand Union Building, Rec. Center

    Every Friday and Saturday night come enjoy bowling under the black lights, for just an hourly price of $7 enjoy all the games you can! Come relax...

  • Burrowing Dinosaurs: Digging Deeper Into Dinosaur Behavior Saturday, November 22, 2014 Saturday, November 22nd, 2014 at Museum of the Rockies

    Burrowing Dinosaurs: Digging Deeper Into Dinosaur Behavior A new permanent exhibit opening today in the Siebel Dinosaur Complex! Experience groundbreaking science about dinosaur behavior in Burrowing Dinosaurs: Digging Deeper Into Dinosaur Behavior.  Based on a remarkable discovery in southwestern Montana, Burrowing Dinosaurs brings to life the first scientific evidence that some dinosaurs dug burrows and cared for their young inside their dens. Dr. David Varricchio, Associate Professor of Paleontology at MSU, was part of the team that uncovered the 95-million-year-old skeletal remains of a small dinosaur and two juveniles found tucked into a fossilized chamber at the end of a sediment-filled burrow. Now MOR's Burrowing Dinosaurs exhibit displays this fascinating behavior in a life-like presentation.

  • Combust-A-Bowl Saturday, November 22, 2014 Saturday, November 22nd, 2014 from 8:30 pm - 11:55 pm at Strand Union Building, Rec. Center

    Every Friday and Saturday night come enjoy bowling under the black lights, for just an hourly price of $7 enjoy all the games you can! Come relax...

  • MSU Concerto/Aria Competition Finals Monday, November 24, 2014 Monday, November 24th, 2014 from 7:00 pm - 8:00 pm at Howard Hall, Reynolds Recital Hall

    Each year the MSU School of Music holds a concerto/aria contest for students. The final round may include up to six students, and this performance is open to the public.



returnCalFeed(5,10,0,1);


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

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