Small Date Card Style
Small Date Cards display a list of cards with a small date to the left of the card, and the title, location, and time of the event to the right. These cards come in two styles that select the background color of the date, light gray or WKU red with white text. These cards are designed for side column use. If you want date style cards in a central column look at Large Date Card Style Feeds.
Style 4 Small Date 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'] = '3';
// style to use when formatting the feed on the page, required
$config['style'] = '4';
// 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 5 Small Date 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'] = '3';
// style to use when formatting the feed on the page, required
$config['style'] = '5';
// 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.