0

I'm using TYPO3 9.5. LTS and insert some fe_users. The TCA input field title is to short for me, only 40 characters. I need more, so the value must be at least 255 characters (varchar).

How can I change the value of a TCA-field of an system extension or table from TYPO3?

I've tried to override typo3conf/ext/myextension/Configuration/TCA/Overrides/fe_users.php with:

$GLOBALS['TCA']['fe_users']['columns']['title']['config']['size'] = 128; 
$GLOBALS['TCA']['fe_users']['columns']['title']['config']['max'] = 128;

But after saving, I get an error: change fe_users values

I also edit the field title in table fe_users from varchar(40) to (255) (-> phpmyadmin), database compare, clear cache, ... still the same error?!

Where's my mistake? Where did I forget something?

edit: I see, that my changes in phpmyadmin are not working. How can I change the value for that field?: phpmyadmin fe_users table change varchar

0

1 Answer 1

1

Solution: Everything like initial post ... additional insert into your own ext_tables.sql:

CREATE TABLE fe_users (
    title varchar(255) DEFAULT '' NOT NULL
);

Now, the title has varchar(255).

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.