Hello!
I am currently having issues with my Berlin theme (version 2.1.3)... Even though I have 7 public collections, on my "Browse Collections" page, it is only showing 1 collection. I think that I am using the original code for /collections/browse.php...
<?php
$pageTitle = __('Browse Collections');
echo head(array('title'=>$pageTitle,'bodyclass' => 'collections browse'));
?>
<h1><?php echo $pageTitle; ?> <?php echo __('(%s total)', $total_results); ?></h1>
<?php echo pagination_links(); ?>
<?php
$sortLinks[__('Title')] = 'Dublin Core,Title';
$sortLinks[__('Date Added')] = 'added';
?>
<div id="sort-links">
<span class="sort-label"><?php echo __('Sort by: '); ?></span><?php echo browse_sort_links($sortLinks); ?>
</div>
<?php foreach (loop('collection') as $collection): ?>
<div class="collection">
<h2><?php echo link_to_collection(); ?></h2>
<?php if ($collectionImage = record_image('collection', 'square_thumbnail')): ?>
<?php echo link_to_collection($collectionImage, array('class' => 'image')); ?>
<?php endif; ?>
<div class="collection-meta">
<?php if (metadata('collection', array('Dublin Core', 'Description'))): ?>
<div class="collection-description">
<?php echo text_to_paragraphs(metadata('collection', array('Dublin Core', 'Description'), array('snippet'=>150))); ?>
</div>
<?php endif; ?>
<?php if ($collection->hasContributor()): ?>
<div class="collection-contributors">
<p>
<strong><?php echo __('Contributors'); ?>:</strong>
<?php echo metadata('collection', array('Dublin Core', 'Contributor'), array('all'=>true, 'delimiter'=>', ')); ?>
</p>
</div>
<?php endif; ?>
<p class="view-items-link"><?php echo link_to_items_browse(__('View the items in %s', metadata('collection', array('Dublin Core', 'Title'))), array('collection' => metadata('collection', 'id'))); ?></p>
<?php fire_plugin_hook('public_collections_browse_each', array('view' => $this, 'collection' => $collection)); ?>
</div>
</div><!-- end class="collection" -->
<?php endforeach; ?>
<?php echo pagination_links(); ?>
<?php fire_plugin_hook('public_collections_browse', array('collections'=>$collections, 'view' => $this)); ?>
<?php echo foot(); ?>
Not quite sure what I'm doing wrong, so any help would be appreciated!