Hey Larissa,
Two event lists on one page should be no problem.
First some basics. If you have two calendars you have two upcoming event lists which you can pull from:
http://events.unl.edu/math/upcoming/?format=hcalendar
and
http://events.unl.edu/math-colloquia/up ... ar&limit=3
(notice the limit parameter, which controls how many you want)
The second question is how to retrieve them. You can either retrieve them on the server with PHP, or use Javascript on the client-side, either way will work but you'll need to decide which way to go.
If you're doing this on the server side with PHP, I'd use something like
- Code: Select all
<?php echo file_get_contents('http://events.unl.edu/math/upcoming/?format=hcalendar'); ?>
On the client side, we can probably start with the events plugin provided with the templates, but we may need to do some tweaking, by setting the calendar URL and limit parameters before initializing it:
http://wdn.unl.edu/wdn/templates_3.0/examples/
But basically we'll be retrieving the content, either hiding the default title "Upcoming Events" or replacing it, and use CSS to style the results.
The CSS included in the templates is pretty nice, but if you'd like to go a different route I understand completely.
This page has a lot more info that might be useful:
http://www1.unl.edu/wdn/wiki/Extracting ... e_Calendar
Hopefully that gives you some ideas.