Compare commits

..

No commits in common. "ed7118bb96ec05d1bbaaa5d5d965cc70ee15395c" and "07a791c4ff8263ee0074509ef724215602af46b4" have entirely different histories.

5 changed files with 9 additions and 20 deletions

View File

@ -10,7 +10,6 @@ return [
//'layout/layout' => __DIR__ . '/../../../themes/archive/view/layout/layout.phtml',
'omeka/index/index' => __DIR__ . '/../../../themes/archive/view/omeka/site/index.phtml',
'omeka/search/results' => __DIR__ . '/../../../themes/archive/view/omeka/search/results.phtml',
'omeka/site-admin/page/edit' => __DIR__ . '/../../../themes/archive/view/omeka/site-admin/page/edit.phtml',
'common/site-list-entry' => __DIR__ . '/../../../themes/archive/view/common/site-list-entry.phtml',
],
],

View File

@ -1,6 +1,6 @@
[info]
name = "Archive site meta"
description = "arcHIVE theme helper. Adds some meta vaule to pages and maps routes"
description = "Add some meta vaule to pages"
tags = ""
license = "MIT"
author = "Hangar.org"

View File

@ -15,7 +15,7 @@ class ArchiveSiteMetaBlockForm extends Form
'name' => 'o:block[__blockIndex__][o:data][currator]',
'type' => Element\Text::class,
'options' => [
'label' => "Artist",
'label' => "Currator",
],
]);

View File

@ -96,10 +96,12 @@ class ArchiveSiteMeta extends AbstractBlockLayout
public function render(PhpRenderer $view, SitePageBlockRepresentation $block)
{
return $view->partial('common/block-layout/site-meta', [
'artist' =>$block->dataValue('currator'),
'project_date' => $block->dataValue('project_date'),
'collection' => $block->dataValue('collection'),
]);
/*
$controller->layout()->setVariable(
'content',
$this->viewRenderer->render('my/email/view_script.phtml');
);
*/
return "";
}
}

View File

@ -1,12 +0,0 @@
<ul>
<li>
<?= $artist ?>
</li>
<li>
<?= $project_date ?>
</li>
<li>
<?= $collection ?>
</li>
</ul>