How to add a pagination to an object list
posted by sylvie on 26 May 2006 (14:04 UTC)
In getList function, be sure to call

<?php
BitBase
::prepGetList$pParamHash );
LibertyContent::postGetList$pParamHash );
?>


In the php, be sure to pass to smarty

<?php
$gBitSmarty
->assign_by_ref'listInfo'$_REQUEST['listInfo'] );
?>


In the tpl, use

<?php
{pagination}
?>



Permalink (referenced by: 0 posts references: 0 posts)