pagination in pseudo_sql
Reported by Gaspard Bucher | September 4th, 2008 @ 10:25 AM | 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 September 29th, 2008 @ 10:07 PM
- 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 October 1st, 2008 @ 05:29 PM
(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 October 1st, 2008 @ 05:29 PM
(from [e46da9d352fe32980aca10b5f02f7aa45e5ddf42]) Implemented "find='count'" option for pseudo_sql. References [#211]. http://github.com/zena/zena/comm...
-
Gaspard Bucher October 1st, 2008 @ 05:29 PM
(from [195958237d14f58d97fc9fd9f90b42a2c3949e21]) Implemented pagination variables ("KEY_count", "KEY"). Started to implement pagination links. Refs [#211]. http://github.com/zena/zena/comm...
-
Gaspard Bucher October 1st, 2008 @ 05:29 PM
(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 October 1st, 2008 @ 05:29 PM
(from [877b10da693a22d260f31d18a683c38589664e09]) Finished implementing pagination (without ajax and page numbers list). Refs [#211]. http://github.com/zena/zena/comm...
-
Gaspard Bucher October 1st, 2008 @ 09:01 PM
(from [865f2478819e96c692dd3d52438d6bac606809fa]) Implemented remote update for pagination ([link] tag). Refs [#211]. http://github.com/zena/zena/comm...
-
Gaspard Bucher October 3rd, 2008 @ 06:47 PM
- 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 October 3rd, 2008 @ 08:43 PM
- 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...