[Typo3] Page Browser with TypoScript

Christopher bedlamhotel at gmail.com
Tue Dec 20 17:54:48 CET 2005


Hi,

On 12/20/05, Jo Schneider <typo3listmember at typo3cms.info> wrote:
> Jochen Rieger wrote:
>
> >Hi Jo,
> >
> >have a look at cag_pagebrowser.
> >
> >It is TypoScript only:
> >
> >http://typo3.org/extensions/repository/search/cag_pagebrowser/
> >
> >You can easily leave out the additional page type and just take the
> >typocript that is shipped by the static template.
> >
> >Cheers,
> >Jochen
> >
> >
> Sorry, here is a more clearly descr. of my prob:
>
> I read via TS (CONTENT, RECORDS) rows from a table of my own EXT. I do
> not want to list all 251 rows, but only 20. No problem to generate the
> buttons like "Prvious 20" / "Next 20", but how could I use TS to ask
> dynamically something like in SQL "LIMIT 20,20"?
>
> One idea was to change the Where-clause like this:
> select {
>     where = uid > 40 bzw.
>     andWhere = uid < 60
> }
> But my rows will be sorted for different views. So I think this will not
> work, will it?
>
> Anybody got an idea?
>

I believe that this:

select.andWhere = LIMIT 20,20

...will work [1]. Have you tried this way?


-Christopher

[1] http://typo3.org/documentation/document-library/doc_core_tsref/select/



More information about the TYPO3-english mailing list