Basic Card Style
The Basic Card style displays cards with a small date on the top of the card, with the title, location, and time of the event below. These cards come in two styles that select the background color of the date, light gray or WKU red with white text. These cards work in both central and side columns.
Style 6 Basic Cards (Gray)
<?php
// id of the calendar addon, required
$config['calendarid'] = '147';
// number of events to be shown in the feed, default 3
$config['events'] = '6';
// style to use when formatting the feed on the page, required
$config['style'] = '6';
// load the functions we need and show the feed based on above settings
include_once ('/var/www/html/_resources/php/calendar_v2/functions.php');
echo calendar_display_feed($config);
?>
Style 7 Basic Cards (WKU Red)
<?php
// id of the calendar addon, required
$config['calendarid'] = '147';
// number of events to be shown in the feed, default 3
$config['events'] = '6';
// style to use when formatting the feed on the page, required
$config['style'] = '7';
// load the functions we need and show the feed based on above settings
include_once ('/var/www/html/_resources/php/calendar_v2/functions.php');
echo calendar_display_feed($config);
?>
Need Assistance?
The WKU ITS Service Desk is here to help. Give us a call, chat with a representative online, use the Self-Help Knowledge Base and more.
Some of the links on this page may require additional software to view.