Re: How to do navigation in smarty ?

From: Date: Mon, 05 Mar 2001 14:47:26 +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-307@lists.php.net to get a copy of this message
Monte, Do you have some examples to what you were talking about? Regards, Jimmy > -----Original Message----- > From: mohrt@ispi.net [mailto:mohrt@ispi.net]On Behalf Of Monte Ohrt > Sent: Sunday, 4 March 2001 1:23 AM > To: Jim Harlindong > Cc: Smarty List > Subject: [smarty] Re: How to do navigation in smarty ? > > > 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

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