Re: DataGrid_Renderer_Smarty & mod_rewrite

From: Date: Mon, 06 Nov 2006 21:55:16 +0000
Subject: Re: DataGrid_Renderer_Smarty & mod_rewrite
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25726@lists.php.net to get a copy of this message
Hi Chris, Chris Boget wrote:
{getPaging prevImg="<<" nextImg=">>" fileName="%d.html" append="false"} When doing it like that, I see (using pring_r on the renderer) that the parameters are actually making it to the pager. However, it doesn't appear that the pager is actually using those settings. It's not using the fileName and it is appending the &page=%d as a GET variable.
Remove the quotes around the boolean value: append=false Otherwise, the string "false" is passed to Pager, and that happens to be a non-empty value, which evaluates to true. Regards, -- Olivier

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