[TYPO3-ttnews] LIST view parameter "limit"
Oliver Rowlands
oliver at liquidlight.co.uk
Tue Mar 6 21:56:36 CET 2007
Hi Darko,
Unfortunately the work around your came up with is the only solution
unless you want to extend/modify tt_news. Are you likely to have more
than a few hundred articles every month? Set the limit to a high value
(eg: 500) and you shouldn't have any problems.
There is actually a hardcoded upper limit of 1000 news articles in the
tt_news PHP source code (in tt_news 2.4, I'm not sure if this is still
the same in 2.5) so you wont be able to list more than that.
Regards,
Oliver
Darko wrote:
> Hey again
>
> plugin.tt_news.limit variable, I use it in TS Constants, it is used for
> "the maximum number of news records showing in "LIST" view"
>
> 1. if plugin.tt_news.limit = 0 then it lists 50 items
> 2. if not set, lists 7, which is default
>
> how do I tell to LIST all the news available?
>
> for now, workaround: by setting a value greater than the greatest number
> of news per month in the archive menu, therefore I get all news records
> listed per month successfully, otherwise I get either 7 or 50.
>
> Thanks
>
> Cheers,
> Darko
>
--
Oliver Rowlands
:: Liquid Light ::
E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk
T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35
More information about the TYPO3-project-tt-news
mailing list