error in Structures_DataGrid_Renderer_Smarty

From: Date: Wed, 23 Jan 2008 14:31:48 +0000
Subject: error in Structures_DataGrid_Renderer_Smarty
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28458@lists.php.net to get a copy of this message
Hi After updating to the latest Structures_DataGrid_Renderer_Smarty I get this error: Fatal error: Call to undefined method Structures_DataGrid_Renderer_Smarty::_smartyGetPaging() in /Library/WebServer/xxxxxxxxxxxx/templates_c/%%7B^7BE^7BE4A339%%log.tpl.php on line 37 Its from my paging function (first line). How do I either reinstall this function or change my code so I get paging back? {getPaging mode="Sliding" prevImg="<<" nextImg=">>" separator=" | " delta="5"} <p>Viser post {$firstRecord} til {$lastRecord} af {$totalRecordsNum}, side {$currentPage} af {$pagesNum}</p> <table cellspacing="0" id="stikord" summary="Liste over stikord"> <caption>Liste af stikord</caption> <colgroup> <col id="id"> <col id="stikord"> </colgroup>
    		<!-- Build header -->
    		<thead>
        		{section name=col loop=$columnSet}
           			<th {$columnSet[col].attributes}>
                		{if $columnSet[col].link != ""}
                    		<a href="{$columnSet[col].link}">{$columnSet[col].label}</a>
                		{else}
                    		{$columnSet[col].label}
                		{/if}
            		</th>
        		{/section}
    		</thead>
    		<tbody>
    		<!-- Build body -->
    		{section name=row loop=$recordSet}
        		<tr{if $smarty.section.row.iteration is odd} class="odd"{/if}>
            		{section name=col loop=$recordSet[row]}
                		<td {$columnSet[col].attributes}>
                		{if $columnSet[col].name == "stikord"}
                			<span id="simplestring-{$recordSet[row].1}">{$recordSet[row][col]}</span>
                		{else}
                			{$recordSet[row][col]}
                		{/if}
                		</td>
            		{/section}
        		</tr>
    		{/section}
    		</tbody>
</table> Regards Kaj Schermer Didriksen ---------------------------------------------------------------------------- "New media applications"
macron ApS                                    Telephone: 87959650
Østervænget 5, Assentoft
8900 Randers                                Web: http://www.macron.dk
Denmark ---------------------------------------------------------------------------

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