Re: How to do navigation in smarty ?
| From: | Jim Harlindong | Date: | Mon, 05 Mar 2001 15:10:39 +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-309@lists.php.net to get a copy of this message | ||
I was thinking more on the line of a generic functionality such as
{navigation skip=$skip max=$max ....}
If this is possible would be great.
> -----Original Message-----
> From: mohrt@ispi.net [mailto:mohrt@ispi.net]On Behalf Of Monte Ohrt
> Sent: Tuesday, 6 March 2001 1:04 AM
> To: Jim Harlindong
> Cc: Smarty List
> Subject: [smarty] Re: How to do navigation in smarty ?
>
> {insert name=search keywords=$keywords skip=$skip max=$max
> template="./templates/search_results.tpl"}
>
> The insert_search() function would run the database query for the search
> and pass the results to the search_results template. Then the
> search_results template would loop through the results and display the
> next/prev navigation.