[TYPO3-ttnews] Related files - change maximum allowed files per news item.

Krystian Szymukowicz t33kRE.MO.VE. at RE.MO.VE.prolabium.com
Tue Sep 18 20:35:59 CEST 2007


Jurvtk wrote:
> Hi all,
> I am wandering if it is possible to change the maximum allowed related files 
> per news item,
> which now seems to be 10 per news item.
> Somebody can help me out?
> Thanks in advance.
> Jur 
> 
> 


Sure. This settings are in tca.php file in tt_news folder.
Search for 'maxitems' => '10'.
You could change it in that file but after tt_news upgrade the changes 
will get lost.

You'd better edit typo3conf/extTables.php and add a line there.


$GLOBALS['TCA']['tt_news']['columns']['news_files']['maxitems']=100;


--
greetings
Krystian Szymukowicz


More information about the TYPO3-project-tt-news mailing list