Loading...
Navigation überspringen
Bitte beachte, dass sich diese Dokumentation auf die neuste Version dieser Erweiterung bezieht. Wenn eine ältere Version eingesetzt wird, kann diese abweichen. Die jeweils passende Dokumentation befindet sich im Dokumentation-Verzeichnis der Erweiterung.

Telefon-Feld

Dieses Feld kann für Telefone verwendet werden.

Weight Form-Engine field

Definition (Standardmäßig mit DE-Telefonvorwahl)

$table = 'tx_crm_domain_model_activityunit';
$lll = 'LLL:EXT:crm/Resources/Private/Language/locallang_db.xlf:' . $table;
return [
    'columns' => [
        'phone' => [
            'label' => $lll . '.phone',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('phone'),
        ],
    ],
];

Definition (mit UK-Telefonvorwahl)

$table = 'tx_crm_domain_model_activityunit';
$lll = 'LLL:EXT:crm/Resources/Private/Language/locallang_db.xlf:' . $table;
return [
    'columns' => [
        'phone' => [
            'label' => $lll . '.phone',
            'config' => \CodingMs\AdditionalTca\Tca\Configuration::get('phone', false, false, '', [
                'country' => 'UK'
            ]),
        ],
    ],
];

Migrations-Tipps

So aktualisieren Sie ein Telefonnummernfeld (z. B. (0123) 456 789) im Format "+49123456789":

UPDATE tx_crm_domain_model_contact SET phone = REPLACE(phone, '(', '');
UPDATE tx_crm_domain_model_contact SET phone = REPLACE(phone, ')', '');
UPDATE tx_crm_domain_model_contact SET phone = REPLACE(phone, ' ', '');
UPDATE tx_crm_domain_model_contact SET phone = REPLACE(phone, '-', '');
UPDATE tx_crm_domain_model_contact SET phone = REPLACE(phone, '/', '');
UPDATE tx_crm_domain_model_contact SET phone = CONCAT(REPLACE(LEFT(phone, 1), '0', '+49'),SUBSTRING(phone, 2)) WHERE phone LIKE '0%';
Letzte Änderung: 21.10.2026
Dokumentation
TYPO3 Additional-TCA Erweiterung

TYPO3 Additional-TCA by coding.ms

Die TYPO3 Additional-TCA Extension hält TCA-Konfigurationen übersichtlich und wartbar. Sie liefert wiederverwendbare Methoden für Tab-Labels und Standardfelder wie Sprache oder Sichtbarkeit sowie praktische Form-Engine-Felder für Währung, Prozent, Zeit, Gewicht, Telefon, Hinweise, Datums- und Datumszeitwerte, Badge-Vorschläge und ein ein- und ausklappbares Textfeld.

Menü

Kontaktanfrage

Du kannst uns jederzeit kontaktieren

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
KTB_________DQJ______
1______U______B___EZW
GOQ___OYQ___B2G______
__F____K______8___RBL
2S6_________Z7Q______
Dein Online-
Adventskalender
Entdecken →