[TYPO3-ttnews] Max related news items

Oliver Rowlands oliver at liquidlight.co.uk
Sat Aug 2 15:46:59 CEST 2008


Hi Antonio,

Are you using TYPO3 4.1 or 4.2?

As far as I can remember this will only work with 4.2+. In TYPO3 4.1 
TCEFORM is only supported in USER TSConfig.

Best regards,

Oliver

Antonio Willybiro wrote:
> Strange it does not seem to work :/
> 
> 
> "Oliver Rowlands" <oliver at liquidlight.co.uk> wrote in message 
> news:mailman.1.1217678687.14033.typo3-project-tt-news at lists.netfielders.de...
>> 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 
> 
> 


-- 
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