[Typo3-dev] name length of backend users

Olivier Dobberkau olivier.dobberkau at dkd.de
Tue Apr 13 13:10:09 CEST 2004


in Beitrag mailman.504.1081800239.241.typo3-dev at lists.netfielders.de schrieb
Sven Wilhelm unter wilhelm at icecrash.com am 12.04.2004 22:03 Uhr:

> Hi,
> 
> I have the next problem with extending the max chars for be_username.
> 
> the following code fragment in typoconf/extTables.php
> 
> <?php
> 
> /* Set max username size to 40 characters */
> $GLOBALS['TCA']['be_users']['columns']['username']['config']['max'] = 40;
> $GLOBALS['TCA']['be_users']['columns']['username']['config']['size'] = 20;
> ?>
> 
> and the integration to localconf.php
> $typo_db_extTableDef_script = "extTables.php";
> 
> kills the complete user-interface for configuring the be-user.
> 
> What did I do wrong? Shouldn't this overwrite the values for the
> username-input-field?
> 
> Thanks and greetings
> 
> Sven
> 

Hi Sven.

Try this:

$TCA["be_groups"]["columns"]["title"]["config"]["size"] ="40";
$TCA["be_groups"]["columns"]["title"]["config"]["max"] ="40";

And do not forget to update the table.sql

CREATE TABLE be_groups (
    title varchar(40) DEFAULT '' NOT NULL
);

Olivier

PS: This is not a DEV List question by the way. Use English List next time.
And check for another newsreading program since your attachments do not work
with some outlook express versions...





More information about the TYPO3-dev mailing list