Utility Bar PHP Snippet
For those groups who continue to develop their websites by means other than WebPublish (Queen's custom designed content management tool), a "PHP snippet" has been created by the Marketing & Communications Department to facilitate a common web template "utility bar" element featuring: Queen's branding (i.e. wordmark), access to the improved Queen's web search, and a quick access list.
<link rel="stylesheet" media="screen" type="text/css" href="http://www.queensu.ca/style/css/queensDefault/queens_utilitybar.css"/>
<!--[if lt IE 9]> <link rel="stylesheet" media="screen" type="text/css" href="http://www.queensu.ca/style/css/queensDefault/queens_utilitybar_ie.css"/> <![endif]-->
<!--[if lte IE 9]>
(Option A) PHP Include for PHP based sites
Place the following PHP snippet into your existing webpage, immediately after the <body> element. Note this is only available for PHP based web sites.
Or you can use the following if you do not have cURL available.
<?php print file_get_contents('http://www.queensu.ca/resources/php/utilitybar.php'); ?>
This option is available for any web sites, those using PHP or any other language including plain HTML. Insert this code right after the <body> tag.
As we continue to improve and update the queensu.ca site, your site will reflect any changes we make to the utility bar, as long as you include the php snippet and not the straight HTML code.
If you have any questions, please contact the Marketing and Communications Department.