Hey,
I have created a plugin that works with all installations except one, that I know of. I am not sure if this is an issue with the plugin or an issue with the particular install of Omeka. There are no errors being generated that I can find. Here is the relevant snippet from my plugin.
<ul id="splashset" class="splashlist">
<?php foreach (loop('items') as $item): ?>
<?php if (metadata('item', 'item_type_name')): ?>
<?php
$type = $item->getItemType()->name;
if ('Oral History' === $type): ?>
<li id="<?php echo metadata('item', array('Item Type Metadata','Sort Priority')); ?>" class="splashitem">
<div class="item record">
<div class="item-meta">
<?php if (metadata('item', 'has files')): ?>
<div class="item-img">
<?php echo link_to_item(item_image('square_thumbnail')); ?>
</div>
<?php endif; ?>
<h2 class="splash_head_style"><?php echo link_to_item(metadata('item', array('Dublin Core', 'Title'), array('snippet'=>35))); ?></h2>
<?php if ($description = metadata('item', array('Dublin Core', 'Description'), array('snippet'=>160))): ?>
<div class="splashitem-description">
<?php echo $description; ?>
</div>
<?php endif; ?>
Note that when NOT logged into admin, the content generated via the query after the line <ul id="splashset" class="splashlist">
appears just fine. However, when logged into admin, accessing the public page shows no sign of the query results on the page. The install in question is 2.6.1. However, others have installed and implemented with this version of Omeka just fine. I’m wondering if there is anything you can think of that might cause this kind of issue, so that I can investigate a fix. For reference, the full plugin is available here: https://github.com/libmanuk/SimpleSplashForm
Thx.
–Eric