How to add a pagination to an object list
In getList function, be sure to call
In the php, be sure to pass to smarty
In the tpl, use
<?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}
?>
Comments
foiqnyts