getString("FeaturedItemsSectionTitle") ); $CollectionsSectionTitle = htmlspecialchars( $IntCfg->getString("CollectionsSectionTitle") ); $HideCollectionMonograms = $IntCfg->getBool("HideCollectionMonograms"); # initialize convenience values $AF = ApplicationFramework::getInstance(); $User = User::getCurrentUser(); $PluginMgr = PluginManager::getInstance(); # get HTML for image collage (if any) $ImageCollageHtml = $PluginMgr->pluginEnabled("Collage") ? $PluginMgr->getPlugin("Collage")->getCollageHtml($CollageSchemaId) : ""; # if no image collage, get HTML for hero image if (!strlen($ImageCollageHtml)) { $HeroImageIds = $IntCfg->getArray("HeroImage"); if (count($HeroImageIds) > 0) { $HeroImageId = array_pop($HeroImageIds); $HeroImage = new Image($HeroImageId); $HeroHtml = "getFullPathForOriginalImage()."\" alt=\"" .htmlspecialchars($HeroImage->altText())."\">"; } else { $HeroHtml = "gUIFile("Metavus--Hero-Image--1920x426.jpg")."\" alt=\"\"/>"; } } # get HTML for featured items list $NumItems = $IntCfg->getInt("NumResourcesOnHomePage"); $FeaturedItemsHtml = $AF->formatInsertionKeyword( "P-FEATUREDITEMS-DISPLAYFEATUREDITEMS", ["NumItems" => $NumItems] ); # retrieve news item list page link $NewsPageLink = ""; if (isset($H_NewsItems)) { $BlogPlugin = $PluginMgr->getPlugin("Blog"); $NewsBlogId = $BlogPlugin->getBlogIdByName($NewsBlogName); if ($NewsBlogId !== false) { $NewsPageLink = "index.php?P=P_Blog_Entries&ID=".$NewsBlogId; } } # ----- DISPLAY -------------------------------------------------------------- PageTitle("Home"); ?>

(no collections to display) $Collection) { # ----- SETUP (LOOP) --------------------------------------------- $Name = htmlspecialchars($Collection->get("Name")); $Size = $Collection->getVisibleSize(); $Monogram = $Collection->getMonogram(); $Color = $Collection->getColor(); $Link = "index.php?P=DisplayCollection&ID=".$CollectionId; # ----- DISPLAY (LOOP) ------------------------------------------- ?>
items
(no news items to display)id()); $Summary->display(); } } ?>
 

(no upcoming events)

get("Start Date"), $Event->get("End Date") ); # ----- DISPLAY (LOOP) ------------------------------------------- ?>

get("Title") ?>

locationSummaryString() ?>