publicNav()->menu()->setPartial('common/foundation-navigation.phtml')->renderPartialWithParams(['layout' => 'vertical']); ?>
@@ -52,8 +51,36 @@ endif;
+
translate('Skip to main content'); ?>
+
+
+
+ container;
+ /*
+ foreach ($this->container as $page) {
+ print($page->id);
+ }
+ */
+ /*
+ $nav = $site->publicNav();
+ $container = $nav->getContainer();
+ $activePage = $nav->findActive($container);
+
+ $slug = $activePage['page']->getParams()['page-slug'];
+ print($slug);
+ foreach ($activePage['page']->getParams() as $key => $param) {
+ print($key.' '.$param);
+ }
+ #$page_id = $activePage->id();
+ #print($page_id);
+ */
+ //$header_image = $this->getHelperPluginManager()->get('pageMeta')->getMetaImage($this);
+ ?>
+
partial('common/header-vertical'); ?>
@@ -62,6 +89,7 @@ endif;
+
content; ?>
diff --git a/view/omeka/site/page/show.phtml b/view/omeka/site/page/show.phtml
index 37480e3..e53e51f 100644
--- a/view/omeka/site/page/show.phtml
+++ b/view/omeka/site/page/show.phtml
@@ -5,6 +5,28 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
?>
+getHelperPluginManager()->get('pageMeta')->getMetaImage($page);
+if ($img_src) {
+?>
+
+
+
+
+
+= $page->id(); ?>
+
publicNav();
$container = $nav->getContainer();
@@ -12,35 +34,30 @@ $activePage = $nav->findActive($container);
if ($activePage):
?>
-
+
getHelperPluginManager()->get('pageMeta')->getPages('exhibit');
-
-foreach ($pages as $key => $value) {
- print($key);
- print('
');
- print("--".$value."--");
- print('
');
-}
-
-
-/*
-$pagesMetadata = $plugins->has('pagesMetadata') ? $plugins->get('pagesMetadata') : null;
-if ($pagesMetadata):
- $data = $pagesMetadata('exhibit_page');
-endif;
-*/
-
+ $pages = $this->getHelperPluginManager()->get('pageMeta')->getPages('exhibit');
+ foreach ($pages as $key => $value) {
+ print($key);
+ print('
');
+ print("--".$value."--");
+ print('
');
+ }
?>
-partial('common/search-form'); ?>
-menu()->renderSubMenu(); ?>
+partial('common/search-form');
+ echo $nav->menu()->renderSubMenu();
+*/
+?>