getString("FeaturedItemsSectionTitle") ); # initialize convenience values $AF = ApplicationFramework::getInstance(); $User = User::getCurrentUser(); $PluginMgr = PluginManager::getInstance(); # verify that the collections variable is set if (!isset($H_Collections)) { throw new Exception("Variable \$H_Collections not set."); } # 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; } } # get HTML for image collage (if any) $ImageCollageHtml = $PluginMgr->pluginEnabled("Collage") ? $PluginMgr->getPlugin("Collage")->getCollageHtml($CollageSchemaId) : ""; # get HTML for featured items list $NumItems = $IntCfg->getInt("NumResourcesOnHomePage"); $FeaturedItemsHtml = $AF->formatInsertionKeyword( "P-FEATUREDITEMS-DISPLAYFEATUREDITEMS", ["NumItems" => $NumItems] ); # ----- DISPLAY -------------------------------------------------------------- PageTitle("Home"); ?>
" alt=""/>

(no collections to display) $Collection) { # ----- SETUP (LOOP) --------------------------------------------- $Name = htmlspecialchars($Collection->get("Name")); $Size = $Collection->getSize(); $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() ?>