I want to create a Browse-type item in the nav with a specific query, and then display the label for the nav item in the template, as if it were a page title. Eg I would create a Browse-type item in the nav with the label ‘Events’, and then I want to display ‘Events’ in the browse template.
Is it possible or should I just use a page with an embedded browse preview for a case like this?
In the default template for
omeka/site/item/browse.phtml, there is the following code:
<?php if ($itemSetShow): ?> // irrelevant stuff... <?php else: ?> <?php echo $this->pageTitle($translate('Items'), 2); ?> <?php endif; ?>
I basically want to replace the hardcoded
Items in the else-branch with the name of the nav item that was clicked on to get to this page.