[TYPO3-ttnews] Max related news items
Oliver Rowlands
oliver at liquidlight.co.uk
Sat Aug 2 14:04:47 CEST 2008
Hi Antonio,
You can indeed, add the following to the TSConfig field of your page:
TCEFORM.tt_news.related.config.maxitems = 1
Best regards,
Oliver
Antonio Willybiro wrote:
> Thanks.
>
> I guess it's not possible to do that via TS right?
> I just want to max it for one specific page
>
> A.
> "Oliver Rowlands" <oliver at liquidlight.co.uk> wrote in message
> news:mailman.1.1217676735.8341.typo3-project-tt-news at lists.netfielders.de...
>> Hi Antonio,
>>
>> Add the following to your 'typo3conf/extTables.php':
>>
>> t3lib_div::loadTCA('tt_news');
>> $TCA['tt_news']['columns']['related']['config']['maxitems'] = 10;
>>
>> Then clear your configuration cache.
>>
>> The default value of the maximum number of related articles is 200.
>>
>> Best regards,
>>
>> Oliver
>>
>> Antonio Willybiro wrote:
>>> Hi,
>>>
>>> how can i set the maximum number of items there should be in the related
>>> news list?
>>>
>>> Thanks
>>> Antonio
>>
>> --
>> 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
>
>
--
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