[TYPO3-ttnews] Force user to choose a category

Oliver oliver at liquidlight.co.uk
Tue Nov 28 18:20:55 CET 2006


Hi Tomas,

Put the followling PHP code in the 'extTables.php' file located in your 
'typo3conf' directory:

t3lib_div::loadTCA("tt_news");
$TCA['tt_news']['columns']['category']['config']['minitems'] = 1;

Best regards,

Oliver

Tomas Havner wrote:
> Greetings
> 
> Is there a way to force users to choose a news-category?
> 
> 
> Regards
> 
> Tomas Havner 
> 
> 

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