Jermaine Rivera
February 19, 2012, 08:30 PM
how do I apply pagination to my listing box?
Here is the current code im using:
global $reefless;
global $rlSmarty;
$reefless -> loadClass("ListingsBox", null, "listings_box");
global $rlListingsBox;
$listings_box = $rlListingsBox -> getListings( "listings", "random", "8" );
$rlSmarty -> assign_by_ref( "listings_box", $listings_box );
$rlSmarty -> assign( "type", "listings" );
$rlSmarty -> display( RL_PLUGINS . "listings_box" . RL_DS . "listings_box.block.tpl" );
Thanks in advance to any and all replies.
Here is the current code im using:
global $reefless;
global $rlSmarty;
$reefless -> loadClass("ListingsBox", null, "listings_box");
global $rlListingsBox;
$listings_box = $rlListingsBox -> getListings( "listings", "random", "8" );
$rlSmarty -> assign_by_ref( "listings_box", $listings_box );
$rlSmarty -> assign( "type", "listings" );
$rlSmarty -> display( RL_PLUGINS . "listings_box" . RL_DS . "listings_box.block.tpl" );
Thanks in advance to any and all replies.