params()->fromQuery('fulltext_search'); $hasResults = false; ?> getHelperPluginManager()->get('archiveSiteMeta'); //$collections = $archiveSiteHelper->getCollections(); ?> getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site); if (!$img_src) { $img_src = $this->assetUrl('img/ARC-HIVE-logo.svg'); } if ($this->site->title() == "Collections") { $image_height = "300px"; } else { $image_height = "200px"; } ?>

translate('Search results for ā€œ%sā€'), $fulltextSearch); ?>

site->title() == "Collections") { /* convert all the results into sites and display the list of sites */ $result = array(); if ($responseSitePages && $responseSitePages->getTotalResults()) { $hasResults = true; foreach ($responseSitePages->getContent() as $sitePage) { $site = $sitePage->site(); array_push($result, $site); } } if ($responseItems && $responseItems->getTotalResults()) { $hasResults = true; foreach ($responseSitePages->getContent() as $sitePage) { $site = $sitePage->site(); if (!in_array ($site , $result)) { array_push($result, $site); } } } echo $this->partial('common/block-layout/list-of-sites', [ 'sites' => $result, 'summaries' => 1, ]); } else { /* display the results as normal */ ?> getTotalResults()): $hasResults = true; ?> getContent() as $sitePage) { array_push($sitePages, $sitePage); } echo $this->partial('common/cross-site-search/site-page-results', [ 'sitePages' => $sitePages, ]); ?> getTotalResults()): $hasResults = true; ?> getContent() as $item) { array_push($items, $item); } echo $this->partial('common/cross-site-search/item-results', [ 'items' => $items, ]); ?>

translate('No result found'); ?>