Compare commits

..

No commits in common. "main" and "fix/issue53-backgrond-collections" have entirely different histories.

21 changed files with 298 additions and 386 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -425,16 +425,16 @@ $dropdown-sizes: (
// -----------------
$dropdownmenu-arrows: true;
$dropdownmenu-arrow-color: $body-font-color;//$anchor-color;
$dropdownmenu-arrow-color: $anchor-color;
$dropdownmenu-arrow-size: 6px;
$dropdownmenu-arrow-padding: 1.5rem;
$dropdownmenu-min-width: 100%;//200px;
$dropdownmenu-min-width: 200px;
$dropdownmenu-background: null;
$dropdownmenu-submenu-background: $dropdown-background;
$dropdownmenu-submenu-background: $white;
$dropdownmenu-padding: $global-menu-padding;
$dropdownmenu-nested-margin: 0;
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
$dropdownmenu-border: none; //1px solid $medium-gray;
$dropdownmenu-border: 1px solid $medium-gray;
$dropdown-menu-item-color-active: get-color(primary);
$dropdown-menu-item-background-active: transparent;
@ -521,7 +521,6 @@ $menu-centered-back-compat: true;
$menu-icons-back-compat: true;
$menu-anchor-color: $black;
$menu-anchor-color-hover: $anchor-color;
// 24. Meter
// ---------

View File

@ -61,18 +61,11 @@ button,.button {
border: none;
}
}
.load_more {
button,.button {
font-size: $global-font-size;
}
}
.end_of_page_button {
// @extend .button.small;
@extend .button;
@extend .button.small;
display: flex;
margin: $global-margin auto;
//padding: $global-padding*0.5 $global-padding*5;
font-size: $global-font-size;
padding: $global-padding*0.5 $global-padding*5;
}
.accordion-item.is-active {
& button, & .button {

View File

@ -1,31 +1,8 @@
//search block size in content
article,.omekas-entry-content {
.search{
@include xy-grid();
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}
// search elements
.search{
.input-group {
position: relative;
border-radius: $global-padding*4;
border-radius: 4rem;
overflow: hidden;
padding: 0;
margin: 0;
@ -33,7 +10,7 @@ article,.omekas-entry-content {
right: 0;
position: absolute;
height: 100%;
padding: $global-padding*0.3 $global-padding;
padding: 0.3rem 1rem;
}
}
.input-group * {
@ -44,7 +21,6 @@ article,.omekas-entry-content {
}
.appear{
display:none;
font-size: $global-font-size;
}
input{
&:active{
@ -75,7 +51,7 @@ article,.omekas-entry-content {
.hollow {
border-color: $primary-color;
color: $primary-color;
&:after {
&::after {
}
&::placeholder {
color: scale-color($primary-color, $lightness: -20%);
@ -88,3 +64,26 @@ article,.omekas-entry-content {
}
}
}
//search block size in content
article,.omekas-entry-content {
.search{
@include xy-grid();
.input-group {
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}

View File

@ -2,10 +2,10 @@
.site-name,.site-description {
display: none;
}
&:before {
&::before {
content: '';
display:inline-block;
// margin-top:-$global-padding;
margin-top:-$global-padding;
width: 100%;
height: $global-padding*5;
background-size: contain;
@ -35,11 +35,3 @@
}
}
}
.arc-hive-off.site-brand{
//hack needed for omeka
margin-bottom: -$global-padding*0.5;
&:before{
margin-top: -$global-padding;
}
}

View File

@ -132,55 +132,6 @@
// #. Page
// ------------------
// -- accordion collections
//.collections-list {
// main article {
// overflow: visible !important;
// }
// .accordion-item {
// margin-left: -10rem;
// padding-left: 10rem;
// margin-right: -10rem;
// padding-right: 10rem;
// }
//}
// -- submenus
.omekas-entry-content {
.sub-menu.wide {
//padding like .hero.collection-single aside nav
position: absolute;
left: 0;
width: 100vw;
@include breakpoint(small) {
padding-left: 0;
padding-right: 0;
}
@include breakpoint(medium) {
padding-left: $global-padding * 3;
padding-right: $global-padding * 3;
}
@include breakpoint(xxlarge) {
padding-left: $global-padding * 8;
padding-right: $global-padding * 8;
}
a {
&:hover {
text-decoration: underline;
}
}
.sticky {
&.is-stuck {
background-color: scale-color($white, $alpha: 90%);
}
&.is-at-top {
margin-top: 0 !important;
}
}
}
}
// -- Search

View File

@ -59,7 +59,7 @@ main {
}
}
section {
// padding: $global-padding $global-padding*2;
padding: $global-padding $global-padding*2;
}
.entry-content,.omekas-entry-content {
@include breakpoint(small){
@ -70,31 +70,18 @@ main {
@include breakpoint(medium){
@include xy-cell(12);
padding: $global-padding*2 $global-padding*3;
max-width: 60rem;
max-width: 50rem;
margin:0 auto;
}
@include breakpoint(xxlarge){
// @include xy-cell(12);
// padding: $global-padding*2 $global-padding*3;
// margin: 0 auto;
max-width: 70rem;
p {
font-size: $global-font-size*1.2;
line-height: $paragraph-lineheight*1.15;
}
@include breakpoint(xlarge){
@include xy-cell(12);
max-width: 50rem;
padding: $global-padding*2 $global-padding*3;
font-size: $global-font-size*1.2;
margin: 0 auto;
}
}
}
aside {
@include xy-grid;
nav {
@include xy-cell(12);
display:flex;
align-content: center;
justify-content: center;
padding-bottom: $global-padding * 2;
}
}
}
@ -240,7 +227,6 @@ main {
padding: 0;
margin: 0;
font-size: $global-font-size*0.7;
overflow: visible;
}
@include breakpoint(medium){
font-size: $global-font-size*1;
@ -253,13 +239,10 @@ main {
display:flex;
flex-direction: column;
align-items: center;
margin-top: $global-margin * 1.5;
}
// accordion for colletions list
.accordion-item {
margin: 0 -5rem;//make lines screen width in collections view
padding: 0 5rem;
&.title {
.accordion-title {
@include breakpoint(small){
@ -526,10 +509,6 @@ main {
}
a {
color: $body-font-color;
&:hover {
// color: $anchor-color;
text-decoration: underline;
}
}
.button {
justify-content:center;
@ -553,11 +532,10 @@ main {
.slides {
background-color: $secondary-color;
.slide {
height: 10rem;
flex-direction: column;
align-content: center;
align-self: center;
margin: 0 auto;
margin: $global-margin auto;
&:first-child {
color: unset;
background-color: unset;
@ -569,16 +547,6 @@ main {
justify-content: center;
}
}
.image-background {
width: 100%;
background-color: rgb(250,250,220);
background-image: url("../img/header_collections.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center 75%;
}
&.collections-all{
}
}
}
aside {
@ -613,24 +581,10 @@ main {
}
aside {
nav {
//like .omekas-entry-content .sub-menu.wide
@include flex-align(justify,middle);
width: 100vw;
border-top: $global-border-archive;
border-bottom: $global-border-archive;
margin: 0;
@include breakpoint(small) {
padding-left: 0;
padding-right: 0;
}
@include breakpoint(medium) {
padding-left: $global-padding * 3;
padding-right: $global-padding * 3;
}
@include breakpoint(xxlarge) {
padding-left: $global-padding * 8;
padding-right: $global-padding * 8;
}
}
}
}

View File

@ -6,13 +6,15 @@
@include breakpoint(small){
@include xy-cell(12);
@include flex-align(center, middle);
padding: $global-padding $global-padding;
min-width: 14rem;
text-align: center;
}
@include breakpoint (medium) {
padding: $global-padding*2 $global-padding;
}
@include breakpoint(large){
@include xy-cell(shrink);
@include flex-align(left, middle);
// min-width: 14rem;
text-align: unset;
}
}
@ -21,7 +23,6 @@
@include xy-cell(12);
@include flex;
@include flex-align(center, middle);
padding-bottom: $global-padding*2;
a, button {
color: $black;
&:hover {
@ -31,71 +32,27 @@
menu {
margin: 0;
padding: 0;
font-size: 0.8rem;
}
.menu {
justify-content: center;
a {
padding: $global-padding*0.7 $global-padding*0.5;
}
&.dropdown {
justify-content:center;
li,.button {
min-width: unset;
margin:0;
padding:0;
font-size: $global-font-size*0.9;//$header-menu-font-size;
}
.button {
margin-left: $global-margin;
background-color:$input-background;
}
.is-dropdown-submenu {
font-size: $dropdown-font-size * 0.95;
min-width: 10rem;
box-shadow: 0 3px 5px 3px rgba(200, 200, 200, 0.1);
}
}
}
}
@include breakpoint(medium) {
menu {
font-size: $global-font-size*1.5;
}
}
@include breakpoint(large) {
@include xy-cell(auto);
@include flex;
//@include flex-align(right, middle);
//padding-bottom: 0;//$global-padding;
@include flex-align(right, middle);
menu {
margin: inherit;
padding: inherit;
.menu {
&.dropdown {
li,.button {
font-size: $global-font-size*1.4;//$header-menu-font-size;
}
}
.button {
margin-left: $global-margin/2;
}
}
}
}
@include breakpoint(xlarge) {
// @include xy-cell(auto);
// @include flex;
@include flex-align(right, middle);
padding-bottom: 0;//$global-padding;
menu {
// margin: inherit;
// padding: inherit;
.menu {
&.dropdown {
justify-content: end;
li,.button {
font-size: $global-font-size*1.4;//$header-menu-font-size;
}
.button {
margin-left: $global-margin;
}
}
}
}
}
}

View File

@ -8,76 +8,21 @@
}
.hero {
@include breakpoint(small) {
// nav {
// .dropdown.menu > li > a {
// padding: $global-menu-padding/2 $global-menu-padding/2;
// }
// }
nav {
.dropdown.menu > li > a {
padding: $global-menu-padding/2 $global-menu-padding/2;
}
}
}
@include breakpoint(medium) {
// aside {
// nav {
// .dropdown.menu > li > a {
// padding: $global-menu-padding;
// }
// }
// }
aside {
nav {
.dropdown.menu > li > a {
padding: $global-menu-padding;
}
}
}
}
@include breakpoint(large) {
}
}
header {
menu {
a[href$="/join-us/"],a[href$="/login"] {
color: $black;
background-color: $input-background;
border: none;
border-radius: $global-radius-archive;
padding: $global-padding/2 $global-padding;
margin-left: $global-margin;
&:hover {
color: $anchor-color;
}
}
}
}
#site-list {
nav {
margin-bottom: 3rem;
}
}
// a[href^="http://"] {
// /* fully valid URL, likely external link */
// }
//
// a[href="http://google.com"] {
// /* link to specific website */
// }
//
// a[href^="/"], a[href^=".."] {
// /* internal relative link */
// }
//
// a[href^="mailto:"] {
// /* email link */
// }
//
// a[href$=".pdf"] {
// /* PDF file */
// }
//
// a[href$=".doc"] {
// /* Microsoft Word document */
// }
//
// a[href$=".mp3"] {
// /* Music file */
// }
//
// a[href$=".zip"] {
// /* Archive file */
// }

View File

@ -7,8 +7,8 @@
<title>Foundation for Sites</title>
<link rel="stylesheet" href="asset/css/default.css">
</head>
<body class="page index dropdown-menu">
<content class="">
<content class="">
<header>
<main class="">
@ -21,45 +21,16 @@
</main>
<nav>
<menu class="">
<ul id="" class="dropdown menu" data-dropdown-menu="dropdown-menu" role="menubar">
<li id="" class="" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone">Project</a>
</li>
<li id="" class="" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/resources/">Resources</a>
</li>
<li id="" class="" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/category/how-to/">How-to</a>
</li>
<li id="" class="is-dropdown-submenu-parent opens-right" role="none" aria-haspopup="true" aria-label="About">
<a role="menuitem" href="#">About</a>
<ul class="dropdown menu vertical submenu is-dropdown-submenu first-sub" data-toggle="" data-submenu="" role="menubar">
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/arc-hive-presentation/">Presentation</a>
</li>
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/partners/">Partners</a>
</li>
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/contact/">Contact</a>
</li>
</ul>
</li>
<li id="" class="" role="none">
<a role="menuitem" href="https://dev.arc-hive.zone/join-us/">Join us</a>
</li>
<li id="" class="" role="none">
<a role="menuitem" href="/login">Login</a>
</li>
</ul>
</menu>
</menu>
</nav>
</header>
<section class="hero omeka collections-all">
<main class="slides">
<section class="slide image-backgroud">
<section class="slide">
<figure>
<img src="asset/img/ARC-HIVE-logo.svg?v=2.0.0" title="an arc-hive project" alt="arc-hive logo" class="logo">
</figure>
</section>
</main>
@ -102,67 +73,218 @@
Search
</button></div></form></nav> <section data-v-abbdcac0="" class="collections-list"><header data-v-abbdcac0=""><h2 data-v-abbdcac0="">Latest in collections</h2></header> <main data-v-abbdcac0=""><article data-v-abbdcac0=""><ul data-v-abbdcac0="" class="accordion"><li data-v-abbdcac0="" data-accordion-item="" disabled="disabled" class="accordion-item title"><div data-v-abbdcac0="" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Title
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="curator">
<span data-v-abbdcac0="" class="ascToggle"><svg data-v-abbdcac0="" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="long-arrow-alt-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" class="svg-inline--fa fa-long-arrow-alt-up fa-w-8 fa-1x"><path data-v-abbdcac0="" fill="currentColor" d="M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z" class=""></path></svg></span></li> <li data-v-abbdcac0="" class="curator">
Artist
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="collection-name">
<span data-v-abbdcac0="" class="ascToggle"><svg data-v-abbdcac0="" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="long-arrow-alt-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" class="svg-inline--fa fa-long-arrow-alt-up fa-w-8 fa-1x"><path data-v-abbdcac0="" fill="currentColor" d="M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z" class=""></path></svg></span></li> <li data-v-abbdcac0="" class="collection-name">
Collection
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="date">
<span data-v-abbdcac0="" class="ascToggle"><svg data-v-abbdcac0="" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="long-arrow-alt-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" class="svg-inline--fa fa-long-arrow-alt-up fa-w-8 fa-1x"><path data-v-abbdcac0="" fill="currentColor" d="M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z" class=""></path></svg></span></li> <li data-v-abbdcac0="" class="date">
Date
<span data-v-abbdcac0="" class="ascToggle activeColumn"></span></li></ul></div></li> <li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Hangar
<span data-v-abbdcac0="" class="ascToggle activeColumn"><svg data-v-abbdcac0="" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="long-arrow-alt-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" class="svg-inline--fa fa-long-arrow-alt-up fa-w-8 fa-1x"><path data-v-abbdcac0="" fill="currentColor" d="M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z" class=""></path></svg></span></li></ul></div></li> <li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Scrimshaws
</li> <li data-v-abbdcac0="" class="curator">
</li> <li data-v-abbdcac0="" class="collection-name">
</li> <li data-v-abbdcac0="" class="date">
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0=""></span> <a data-v-abbdcac0="" href="/s/hangar" class="button small">
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Generic scrimshaws</span> <a data-v-abbdcac0="" href="/s/scrimshaws" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Trees and cells
Sea adventure
</li> <li data-v-abbdcac0="" class="curator">
Unknown
</li> <li data-v-abbdcac0="" class="collection-name">
RBINS
</li> <li data-v-abbdcac0="" class="date">
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Here, some footnotes of structural imagination</span> <a data-v-abbdcac0="" href="/s/trees-and-cells" class="button small">
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Tortle shell engraved with a whale hunting scene.</span> <a data-v-abbdcac0="" href="/s/sea-adventure" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
VideoReplication
Dreaming of a Butterfly
</li> <li data-v-abbdcac0="" class="curator">
António Caramelo
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0=""></span> <a data-v-abbdcac0="" href="/s/videoreplication" class="button small">
2011-09-23
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/486/6178201211_f12c28f532_b.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Dreaming of a Butterfly occupies the different potential that might exist in the small spaces between the reality and appearances.</span> <a data-v-abbdcac0="" href="/s/dreaming-of-a-butterfly" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Werewolves
Mira s Column
</li> <li data-v-abbdcac0="" class="curator">
Antonio + Chris
Kira OReilly
</li> <li data-v-abbdcac0="" class="collection-name">
Hangar people
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2021-03-02
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://dev-archive.hangar.org/files/large/89/scary-werewolf.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The werewolf is a widespread concept in European folklore, existing in many variants, which are related by a common development of a Christian interpretation of underlying European folklore developed during the medieval period. From the early modern period, werewolf beliefs also spread to the New World with colonialism. Belief in werewolves developed in parallel to the belief in witches, in the course of the Late Middle Ages and the Early Modern period.</span> <a data-v-abbdcac0="" href="/s/Werewolves" class="button small">
2013-08-18
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/291/img_3905.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">This particular column is a profile of a moment, an action and a gesture in time that is slowly unfolding.</span> <a data-v-abbdcac0="" href="/s/miras-column-kira-oreilly" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Modules
Web
</li> <li data-v-abbdcac0="" class="curator">
Chris
Marta de Menezes; Kira O'Reilly
</li> <li data-v-abbdcac0="" class="collection-name">
Hangar people
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2021-03-09
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://dev-archive.hangar.org/files/large/81/3D-Panoramic-Landscape-Image-768x288.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">You can extend the functionality of Omeka S by writing an add-on component called a module. Zend Framework provides a substantial framework for writing modules, but Omeka S provides extra structure that makes the modules installable, upgradeable, and integratable. You can extend the functionality of Omeka S by writing an add-on component called a module. Zend Framework provides a substantial framework for writing modules, but Omeka S provides extra structure that makes the modules installable, upgradeable, and integratable.</span> <a data-v-abbdcac0="" href="/s/modules" class="button small">
2013-09-13
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/379/Web.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Inspired by the vaults and web arches woven by arachnid architects in order to occupy the space, darkness and silence of Cultivamos Cultura, the artists created an installation that seeks the texture of a silk, apparently suspended, heavy with layers of age and dust, on a human scale.</span> <a data-v-abbdcac0="" href="/s/web-marta-menezes-kira-oreilly" class="button small">
View
</a></p></section></aside></li></ul> <!----></article></main> <aside data-v-abbdcac0=""><nav data-v-abbdcac0=""></nav></aside></section></div>
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story VI
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-VI" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story V
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-V" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story IV
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-IV" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story III
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-III" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story II
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-II" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Ontological Ecology of Echoes , when nature takes back a social story I
</li> <li data-v-abbdcac0="" class="curator">
Maria Lucia Cruz Correia
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2013-09-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/287/Ao-Sol-Catalogo-7.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">The idea is to search models for a “wounded social sculpture” presented by an architecture body, that is defined by an internal malfunction, a genetic illness at birth. The termites incorporate the illness which activate the moment when nature sticks back.</span> <a data-v-abbdcac0="" href="/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-I" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
A Foxs Tale - Water
</li> <li data-v-abbdcac0="" class="curator">
Lena Ortega
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-01
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/268/Leena_Water.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">How do we prevail as active participants in this world? What do we need to do so we are not forgotten? We could think about being necessary, useful, or even being loved, in order to persist.</span> <a data-v-abbdcac0="" href="/s/a-foxs-tale-water-lena-ortega" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
A Foxs Tale - Tube
</li> <li data-v-abbdcac0="" class="curator">
Lena Ortega
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-01
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/266/Leena_Tube.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">How do we prevail as active participants in this world? What do we need to do so we are not forgotten? We could think about being necessary, useful, or even being loved, in order to persist.</span> <a data-v-abbdcac0="" href="/s/a-foxs-tale-tube-lena-ortega" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
A Foxs Tale - Harp
</li> <li data-v-abbdcac0="" class="curator">
Lena Ortega
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-01
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/cfdb3e2489eb81f6f662faabcebdc289af3d9920.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">How do we prevail as active participants in this world? What do we need to do so we are not forgotten? We could think about being necessary, useful, or even being loved, in order to persist.</span> <a data-v-abbdcac0="" href="/s/a-foxs-tale-harp-lena-ortega" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
A Foxs Tale
</li> <li data-v-abbdcac0="" class="curator">
Lena Ortega
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-01
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/240/2014_12_20_Moshi_Moshi_[16].jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">How do we prevail as active participants in this world? What do we need to do so we are not forgotten? We could think about being necessary, useful, or even being loved, in order to persist.</span> <a data-v-abbdcac0="" href="/s/a-foxs-tale" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Re-Culturing
</li> <li data-v-abbdcac0="" class="curator">
Carolyn Angleton
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-15
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/714/Carolyn_Angleton05.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Re-culturing situates the changing motif of Portuguese tiles as a living system in and of itself, one that feeds off its environment, mutates and evolves under constraint, and is self-regenerating from its parts.</span> <a data-v-abbdcac0="" href="/s/re-culturing" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Drosophila Titanus
</li> <li data-v-abbdcac0="" class="curator">
Andy Gracie
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2014-07-30
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/303/Andy_Gracie_3.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Drosophila titanus' was a long-term project which through a process of experimentation and artificial selection aimed to develop a species of the fruit fly Drosophila melanogaster that would be theoretically capable of living on Saturn's largest moon Titan. While being a virtually impossible project to 'successfully' complete in pure scientific terms, 'Drosophila titanus' sited itself as a process within the ongoing discourse surrounding the complex relationships between art and science.</span> <a data-v-abbdcac0="" href="/s/drosophila-titanus" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
50cc air de Troy
</li> <li data-v-abbdcac0="" class="curator">
Kathy High
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2015-05-31
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/373/PVL07515.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">When displayed in a Farm in Portugal, is the Air even from Troy, anymore?</span> <a data-v-abbdcac0="" href="/s/50-cc-air-de-troy" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Air
</li> <li data-v-abbdcac0="" class="curator">
Anna Isaak-Ross
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2016-06-20
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/453/Penafiel113.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">This series was created at Cultivamos Cultura using objects found in the house and barns. This is an alternative photography process called cyanotype.</span> <a data-v-abbdcac0="" href="/s/air-anna-isaak-ross" class="button small">
View
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
Sea Shadow
</li> <li data-v-abbdcac0="" class="curator">
Sarah Blissett
</li> <li data-v-abbdcac0="" class="collection-name">
Cultivamos Cultura
</li> <li data-v-abbdcac0="" class="date">
2017-07-11
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://collections.arc-hive.zone/files/large/660/PVL05216.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Sea Shadow explores different processes of material transformation in relation to macroalgae or seaweeds, to highlight how forms of digestion and incorporation extend bodily boundaries beyond the human, relating also to concepts of interlocked ecological and economic metabolism.</span> <a data-v-abbdcac0="" href="/s/sea-shadow-sarah-blissett" class="button small">
View
</a></p></section></aside></li></ul> <div data-v-abbdcac0="" class="load_more"><button data-v-abbdcac0="">
Load more
</button></div></article></main> <aside data-v-abbdcac0=""><nav data-v-abbdcac0=""></nav></aside></section></div>
</div>
<script src="/themes/archive/asset/js/archive-list.js"></script>
</div>
@ -236,10 +358,6 @@
</footer>
<!-- end off-canvas-content -->
<!-- </div> -->
</content>

View File

@ -19,9 +19,6 @@ foreach($sites as $site){
if (!isset($site_data['currator'])) {
$site_data['currator'] = "";
}
if (isset($site_data['project_date'])) {
$site_data['project_date'] = substr($site_data['project_date'], 0, 4);
}
array_push($projects, $site_data);
}
//$collections = json_encode($collections, JSON_UNESCAPED_SLASHES);
@ -34,7 +31,7 @@ $projects = htmlentities(json_encode($projects, JSON_HEX_QUOT), ENT_QUOTES, 'UTF
<div
data-vue-component="archive-list"
data-collections='<?= $projects ?>'
data-page_size=20>
data-page_size=3>
</div>
</div>

View File

@ -51,7 +51,7 @@
Hosted, maintained and coded by <a href="https://hangar.org">Hangar</a>
</aside>
<aside class="double copyright">
Powered by <a href="https://omeka.org/">Omeka</a>
<?php echo $this->translate('Powered by Omeka S'); ?>
</aside>
<aside class="legal-credits">
Visual identity by <a href="http://oficinadedisseny.net/">Oficina de disseny</a>

View File

@ -1,6 +1,6 @@
<main class="">
<!-- <a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off"> -->
<a href="https://arc-hive.zone/" class="site-brand arc-hive-off">
<a href="/" class="site-brand arc-hive-off">
<?php if ($this->themeSetting('logo')): ?>
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
alt="<?php echo $site->title(); ?>"

View File

@ -19,7 +19,7 @@ $img_src = null;
<main class="">
<!-- <a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off"> -->
<a href="https://arc-hive.zone/" class="site-brand arc-hive-off">
<a href="/" class="site-brand arc-hive-off">
<?php if ($this->themeSetting('logo')): ?>
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
alt="<?php echo $site->title(); ?>"

View File

@ -1,13 +1,25 @@
<section class="hero omeka collections-all">
<main class="slides">
<section class="slide image-background">
<!-- <figure> -->
<!-- <img src=""
<?php if ($this->themeSetting('logo')): ?>
<section class="slide">
<figure>
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
title="<?php echo $site->title(); ?>"
alt="<?php echo $site->title(); ?>"
class="logo" />
</figure>
</section>
<?php else: ?>
<section class="slide">
<figure>
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>"
title="an arc-hive project"
alt="arc-hive logo"
class="logo" /-->
<!-- </figure> -->
class="logo" />
</figure>
</section>
<?php endif; ?>
</main>
<aside>
<h2 class="site-title">

View File

@ -1,12 +1,8 @@
<?php
# Config
# uncoment below for production main branch and comment for development
$wordpress_site="https://arc-hive.zone";
$wordpress_endpoint="https://arc-hive.zone/wp-json/menus/v1/menus/4";
# coment below for production main branch and uncomment for development
#$wordpress_site="https://dev.arc-hive.zone";
#$wordpress_endpoint="https://dev.arc-hive.zone/wp-json/menus/v1/menus/4";
$wordpress_site="https://dev.arc-hive.zone";
$wordpress_endpoint="https://dev.arc-hive.zone/wp-json/menus/v1/menus/4";
use Zend\Http\Client;
@ -16,7 +12,7 @@ $items[0] = new ArrayObject(); // top level menu items go here
if ($wordpress_endpoint) {
try {
$client = new Client($wordpress_endpoint);
$client->setOptions(array("timeout"=>2));
$client->setOptions(array("timeout"=>1));
$response = $client->send();
}
catch (exception $e) {
@ -33,7 +29,6 @@ if ($wordpress_endpoint) {
$item_url = "/login";
}
$item_title = $menu_item->title;
/*
if ($lowered_title == 'collections') {
if ($wordpress_site) {
// change Collections item
@ -43,13 +38,13 @@ if ($wordpress_endpoint) {
continue; // do not render the Collections item
}
}
*/
$item = [
"id" => $menu_item->ID,
"title" => $item_title,
"url" => $item_url
];
if (!isset($items[$menu_item->menu_item_parent])) {
//if (!array_key_exists($menu_item->menu_item_parent, $items)) {
$items[$menu_item->menu_item_parent] = new ArrayObject();
}
$items[$menu_item->menu_item_parent][$menu_item->ID] =$item;
@ -62,12 +57,12 @@ if (count($items[0]) == 0) {
// we did not retrieve a menu from the wordpress site
// let's create a default menu
if ($wordpress_site) {
$collections_item = [
$project_item = [
"id" => 1,
"title" => "Collections",
"url" => "/"
"title" => "Project",
"url" => $wordpress_site
];
$items[0][1] = $collections_item;
$items[0][1] = $project_item;
}
$login_item = [
"id" => 2,
@ -95,6 +90,7 @@ if (!function_exists('render_menu')) {
}
echo '<a role="" href="'.$menu_item['url'].'">'.$menu_item['title'].'</a>'.PHP_EOL;
if (isset($items[$menu_item['id']])) {
//if (array_key_exists($menu_item['id'], $items)) {
render_menu($items, $menu_item['id']); // render sub menu
}
echo '</li>' . PHP_EOL;

View File

@ -64,8 +64,8 @@ if ($activePage):
<?php if ($activePage): ?>
<?php if ($this->displayNavigation && $activePage['page']->hasPages()): ?>
<nav class="sub-menu wide" data-sticky-container>
<div class="no-sticky" no-data-sticky no-data-anchor="blocks">
<?php echo $nav->menu()->setUlClass('horizontal menu')->renderSubMenu(); ?>
<div class="sticky" data-sticky data-anchor="blocks">
<?php echo $nav->menu()->setUlClass('vertical menu')->renderSubMenu(); ?>
</div>
</nav>
<?php endif; ?>