[TYPO3-project-formidable] Pager for renderlet:LISTER
Jerome Schneider
typo3dev at ameos.com
Fri Jan 4 19:13:02 CET 2008
Hi manuel,
I applied the patch an found what I think are bugs:
-> Link to first page is never displayed.
-> there's no window displayed when default templating is used.
Ps: I don't know why but my svn client refuses to use patches you
provide. I had a look inside patch filed and discovered that format
differs from what it expects.
I tried to generate a patch and this is what came out:
Index: api/base/dh_db/api/class.tx_dhdb.php
===================================================================
--- api/base/dh_db/api/class.tx_dhdb.php (revision 158)
+++ api/base/dh_db/api/class.tx_dhdb.php (working copy)
@@ -97,6 +97,8 @@
blabla php code
And this is the content of the patches you provide:
---
ameos_formidable/api/base/rdt_lister/api/class.tx_rdtlister.php.orig
2008-01-04 09:46:58.000000000 +0100
+++ ameos_formidable/api/base/rdt_lister/api/class.tx_rdtlister.php
2008-01-04 12:23:34.000000000 +0100
@@ -211,21 +211,29 @@
blabla php code
=> note the differences in revision identification; and there's no line
Index: somedir
I don't know why they've different formats, but I'm not able to
automatically apply patches coz of this, I have to do it manually.
Do you have a solution for this ?
Thanks for helping !
Jerome Schneider
Manuel Rego Casasnovas a écrit :
> Hello,
>
> I get the pager with "...", that I wanted.
>
> Some examples for list with 17 pages and window 5:
> *1* 2 3 4 5 ... 17 >>
> << 1 *2* 3 4 5 6 ... 17 >>
> << 1 2 *3* 4 5 6 7 ... 17 >>
> << 1 2 3 *4* 5 6 7 8 ... 17 >>
> << 1 2 3 4 *5* 6 7 8 9 ... 17 >>
> << 1 2 3 4 5 *6* 7 8 9 10 ... 17 >>
> << 1 ... 3 4 5 6 *7* 8 9 10 11 ... 17 >>
> << 1 ... 5 6 7 8 *9* 10 11 12 13 ... 17 >>
> << 1 ... 7 8 9 10 *11* 12 13 14 15 ... 17 >>
> << 1 ... 8 9 10 11 *12* 13 14 15 16 17 >>
> << 1 ... 11 12 13 14 *15* 16 17 >>
> << 1 ... 13 14 15 16 *17*
>
> I've tested the pager behaviour, but if someone find any error please tell
> me.
>
> Best regards,
> Rego
>
More information about the TYPO3-project-formidable
mailing list