pagination in pseudo_sql
Reported by Gaspard Bucher | 2008-09-04 10:25:47 UTC | in 1.0
A possible syntax could be:
<r:notes in='site' limit='20' paginate='true'>
next, previous links: <r:link page='previous'/> <r:link page='next'/>
page numbers: <r:link page='numbers'/>
</r:notes>
This would use the DOM to generate a unique params key "notes32_p" or "notes_p" for pages in the url.
The link could use the "update" params with a block for ajax.
Comments and changes to this ticket
-

Gaspard Bucher 2008-09-29 22:07:19 UTC
- State changed from new to open
- Tag changed from enhancement, zafu, zena to enhancement, started, zafu, zena
Started implementation.
Syntax will be closer to
{{{ <r:notes in='site' limit='20' paginate='p'> next, previous links: <r:link page='previous'/> <r:link page='next'/> page numbers: <r:link page='numbers'/> </r:notes> }}}
-

Gaspard Bucher 2008-10-01 17:29:33 UTC
(from [e0ed571c83b3e87e630da49e1948974099307d5b]) Implemented basic pseudo_sql pagination. References [#211]. With this simple implementation you can write "nodes in site limit 23 paginate param:p". Now it's time to display page numbers and do clever tricks with page counts. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-01 17:29:37 UTC
(from [e46da9d352fe32980aca10b5f02f7aa45e5ddf42]) Implemented "find='count'" option for pseudo_sql. References [#211]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-01 17:29:40 UTC
(from [195958237d14f58d97fc9fd9f90b42a2c3949e21]) Implemented pagination variables ("KEY_count", "KEY"). Started to implement pagination links. Refs [#211]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-01 17:29:43 UTC
(from [ee76a200b016a797c8ffc879f3e23f3e5b89f103]) Improved [link] to handle arbitrary url parameters (use <r:link foo='blah[id]'/>) with dynamic value parsing. All this to finally enable pagination. Refs [#211]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-01 17:29:46 UTC
(from [877b10da693a22d260f31d18a683c38589664e09]) Finished implementing pagination (without ajax and page numbers list). Refs [#211]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-01 21:01:16 UTC
(from [865f2478819e96c692dd3d52438d6bac606809fa]) Implemented remote update for pagination ([link] tag). Refs [#211]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-03 18:47:26 UTC
- State changed from open to resolved
(from [12cf2739f4d8edb608a1c28196bc47a8cb181797]) Finished implementing pagination (page numbers list). [#211 state:resolved]. http://github.com/zena/zena/comm...
-

Gaspard Bucher 2008-10-03 20:43:38 UTC
- Tag changed from enhancement, started, zafu, zena to enhancement, zafu, zena
done.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Anyone knows how to use formatting here ?
Git repository: http://github.com/zena
Official website: http://zenadmin.org
People watching this ticket
Tags
Referenced by
-
211
pagination in pseudo_sql
(from [e0ed571c83b3e87e630da49e1948974099307d5b]) Impleme...
-
211
pagination in pseudo_sql
(from [e46da9d352fe32980aca10b5f02f7aa45e5ddf42]) Impleme...
-
211
pagination in pseudo_sql
(from [195958237d14f58d97fc9fd9f90b42a2c3949e21]) Impleme...
-
211
pagination in pseudo_sql
(from [ee76a200b016a797c8ffc879f3e23f3e5b89f103]) Improve...
-
211
pagination in pseudo_sql
(from [877b10da693a22d260f31d18a683c38589664e09]) Finishe...
-
211
pagination in pseudo_sql
(from [865f2478819e96c692dd3d52438d6bac606809fa]) Impleme...
-
211
pagination in pseudo_sql
(from [12cf2739f4d8edb608a1c28196bc47a8cb181797]) Finishe...