diff --git a/asset/img/default-header-image.jpg b/asset/img/default-header-image.jpg deleted file mode 100644 index 8ede09c..0000000 Binary files a/asset/img/default-header-image.jpg and /dev/null differ diff --git a/view/common/header-archive.phtml b/view/common/header-archive.phtml deleted file mode 100644 index 06af3e1..0000000 --- a/view/common/header-archive.phtml +++ /dev/null @@ -1,16 +0,0 @@ -
- - themeSetting('logo')): ?> - - - - -

title(); ?>

-

an integrative digital bio-art platform

-
-
- diff --git a/view/common/header-collections.phtml b/view/common/header-collections.phtml new file mode 100644 index 0000000..9187a96 --- /dev/null +++ b/view/common/header-collections.phtml @@ -0,0 +1,36 @@ +
+ + themeSetting('logo')): ?> + + + + +

title(); ?>

+

an integrative digital bio-art platform

+
+
+ diff --git a/view/common/header-default.phtml b/view/common/header-default.phtml new file mode 100644 index 0000000..be0c717 --- /dev/null +++ b/view/common/header-default.phtml @@ -0,0 +1,33 @@ +
+ + themeSetting('logo')): ?> + + + + +

title(); ?>

+

an integrative digital bio-art platform

+
+
+ diff --git a/view/common/hero-archive.phtml b/view/common/hero-collections.phtml similarity index 67% rename from view/common/hero-archive.phtml rename to view/common/hero-collections.phtml index c890f5b..fd7c308 100644 --- a/view/common/hero-archive.phtml +++ b/view/common/hero-collections.phtml @@ -3,21 +3,31 @@ themeSetting('logo')): ?>
- +
- +
+ diff --git a/view/common/hero-default.phtml b/view/common/hero-default.phtml new file mode 100644 index 0000000..2243065 --- /dev/null +++ b/view/common/hero-default.phtml @@ -0,0 +1,27 @@ +
+
+
+
+ collection logo +
+
+
+ +
diff --git a/view/layout/layout.phtml b/view/layout/layout.phtml index eab50d4..8857413 100644 --- a/view/layout/layout.phtml +++ b/view/layout/layout.phtml @@ -31,11 +31,12 @@ if ($userBar) { $this->htmlElement('body')->appendAttribute('class', 'user-bar'); } +/* $logo = $this->themeSettingAssetUrl('logo'); if ($logo): $titlelogo = ''; endif; - +*/ ?> doctype(); ?> htmlElement('html'); ?> @@ -52,10 +53,22 @@ endif;
- partial('common/header-archive'); ?> + title() == "Collections") { + echo $this->partial('common/header-collections'); + } else { + echo $this->partial('common/header-default'); + } + ?>
- partial('common/hero-archive.phtml'); ?> + title() == "Collections") { + echo $this->partial('common/hero-collections'); + } else { + echo $this->partial('common/hero-default'); + } + ?>
diff --git a/view/omeka/site/page/show.phtml b/view/omeka/site/page/show.phtml index 1ecec29..e6b5b38 100644 --- a/view/omeka/site/page/show.phtml +++ b/view/omeka/site/page/show.phtml @@ -5,40 +5,25 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true); ?> - -pages(); -$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page); -if (!$img_src) { - $img_src = '/themes/archive/asset/img/default-header-image.jpg'; -} -if ($this->site->title() == "Collections") { - $image_height = "300px"; -} else { - $image_height = "200px"; -} -?> - - - -id(); - $this->pageTitle($page->title()); - */ + +getHelperPluginManager()->get('headerImage')->getImage($page); + if (!$img_src) { + $img_src = $this->assetUrl('img/ARC-HIVE-logo.svg'); + } + ?> + + + + publicNav(); $container = $nav->getContainer();