Re: How to do navigation in smarty ?

From: Date: Sat, 03 Mar 2001 15:22:38 +0000
Subject: Re: How to do navigation in smarty ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-276@lists.php.net to get a copy of this message
I've been contemplating putting something into Smarty that automates this a bit... it will take a bit of thinking but I think it can be done. You basically need to keep track of skip, max, next, prev and pass them through the template each time. I was thinking of using an {insert} tag to call back an sql query from the template, then passing another template to that function to display the query results and prev/next buttons. Jim Harlindong wrote: > > Another question... > How can I easily create navigation such as > > prev page | next page > > a typical multi page sql results scenario, using GET method > Any tips? > > Thanks > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#276) next »