structures datagrid renderer smarty getPaging function

From: Date: Wed, 25 Jul 2007 10:06:27 +0000
Subject: structures datagrid renderer smarty getPaging function
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27728@lists.php.net to get a copy of this message
Hi I'm trying to make paging work, but I cant get the getPaging function to work in smarty. Everything else is ok. it's this in my tpl fil: ... <div id="content"> <!-- Show paging links using the custom getPaging function --> {getPaging mode="Sliding" prevImg="<<" nextImg=">>" separator=" | " delta="25"} <p>Viser post {$firstRecord} til {$lastRecord} af {$totalRecordsNum}, side {$currentPage} af {$pagesNum}</p> ... and I do this in my php file: ... $test = $datagrid->bind('SELECT [Bbla bla bla]', $options); if (PEAR::isError($test)) {
    			echo $test->getMessage();
} $datagrid->fill($smarty); $smarty->display('koder.tpl'); ... The renderer states that it registeres the function itself, but it does not seem so! Regards Kaj Schermer Didriksen

« previous php.pear.general (#27728) next »