[Typo3-dev] name length of backend users

Sven Wilhelm wilhelm at icecrash.com
Wed Apr 14 15:29:00 CEST 2004


Hello,

> Generally:
> 
> ALWAYS before manipulating anything in the "columns" section of TCA, do
> this first:
> 
> t3lib_div::loadTCA('be_users');
> 
> This will make sure the FULL definition of be_users is loaded first!

that was ist.

This combination works for me now:

<?php
t3lib_div::loadTCA('be_users');
/* Set max username size to 40 characters */
$GLOBALS['TCA']['be_users']['columns']['username']['config']['max'] = 20;
$GLOBALS['TCA']['be_users']['columns']['username']['config']['size'] = 20;

?>

thanks for help

greeting sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.typo3.org/pipermail/typo3-dev/attachments/20040414/3fa279d7/attachment.pgp>


More information about the TYPO3-dev mailing list