While I have been able to create a custom list of entries (see forum entry: http://omeka.org/forums/topic/creating-custom-pages) using the "Simple Page" plugin, which even supports the "Sort Browse" plugin sorting, I can't figure out how to make this paginated.
Since I don't want to grab all items in the database and output that once, but show them in several pages (as is done with the browse.php), how do I do this?
Here is the code currently for this "table" page, which currently grabs 50 entries:
<?php
set_items_for_loop(get_items(array('type' => 'Document'),50));
?>
<?php if(has_items_for_loop()): ?>
<table border="0" cellpadding="7">
<!-- Loop for items -->
<?php while(loop_items()): ?>
<tr>
<td><?php echo link_to_item(); ?></td>
<td><?php echo item('Dublin Core','Date'); ?></td>
<td><?php echo item('Dublin Core', 'Creator'); ?></td>
</tr>
</div>
<?php endwhile; ?>
</table>
<?php else: ?>
<!-- Message if there are no items -->
<p>No Items Found.</p>
<?php endif; ?>
How do I make this kind of page such that it supports pagination?
Many thanks in advance.