RE: How to do navigation in smarty ?
| From: | Jim Harlindong | Date: | Sat, 03 Mar 2001 15:26:13 +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-278@lists.php.net to get a copy of this message | ||
Can't wait to see what you'll come up with.
In the mean time I will try my own way....
> -----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: Re: [smarty] 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.