What are the variables or best way to access additional information/meta-data and display it on the Item show page. This is the code I want to add the contributor and owner information to:
<h2><?php if($item->title) echo $item->title; else echo 'Untitled'; ?></h2>
<ul id="item-metadata">
<?php if($item->creator): ?>
<li><b>Creator:</b> <?php echo $item->creator; ?></li>
<?php endif; ?>
<li><b>Item Type:</b> <?php echo $item->Type->name; ?></li>
<li><b>Date Added:</b> <?php echo date('m.d.Y', strtotime($item->added)); ?></li>
</ul>
I assumed I would be able to add something like:
<?php if($item->contributor): ?>
<li><b>Contributor:</b> <?php echo $item->contributor; ?></li>
<?php endif; ?>
but that seems to break the page.
thanks,
Ben