Have a look at Data::Pageset which pretty much does all what you want.

On Thu, 2010-04-01 at 11:27 +0000, dark0s wrote:
> How can I paginate search results with TT.
> I have the following code in HTML/TT2:
> 
> <table>
>  [% FOREACH file IN directory %]
>    <tr><td><a name="file" href="/cgi-bin/open.cgi?user=[% user %]&file=[% 
> file %]">[% file %]</a></td></tr>
>  [% END %]
> </table>
> 
> If search results are more of fifty, then I'd like to place remaining results 
> in other page and I want to put link to subsequent page.
> 
> How can I solve this problem?
> 
> 
>       
> 
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates


-- 
Kiffin Gish <[email protected]>
Gouda, The Netherlands


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to