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"); ?>
(no upcoming events)
get("Start Date"), $Event->get("End Date") ); # ----- DISPLAY (LOOP) ------------------------------------------- ?>= $EventDateRange ?> = $Event->locationSummaryString() ?>