Hallo zusammen,
zumindest ein Teilerfolg . Nach Anlegen des Modulverzeichnissses und Ausführen des Install-Tools bzw. der DB-Aktualisierung kommt folgende Fehlermeldung, das Feld wird bei "Neuer Benutzer" bereits angezeigt.
Code:
$GLOBALS['TL_DCA']['tl_member']['palettes']['default'] = str_replace ( 'company', 'customer_number,company', $GLOBALS['TL_DCA']['tl_member']['palettes']['default'] ); $GLOBALS['TL_DCA']['tl_member']['fields']['customer_number'] = array ( 'label' => &$GLOBALS['TL_LANG']['tl_member']['customer_number'], 'exclude' => true, 'inputType' => 'text', 'eval' => array('mandatory'=>true, 'rgxp'=>'digit', 'maxlength'=>8), 'sql' => "varchar(8) NOT NULL default ''" );
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web93/html/xxxxxxxx/system/modules/z_memberplus/dca/tl_member.php:14) in system/modules/core/library/Contao/Template.php on line 261
#0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/web93/...', 261, Array)
#1 system/modules/core/library/Contao/Template.php(261): header('Vary: User-Agen...', false)
#2 system/modules/core/classes/BackendTemplate.php(121): Contao\Template->output()
#3 contao/main.php(284): Contao\BackendTemplate->output()
#4 contao/main.php(146): Main->output()
#5 contao/main.php(293): Main->run()
#6 {main}
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web93/html/xxxxxxxx/system/modules/z_memberplus/dca/tl_member.php:14) in system/modules/core/library/Contao/Template.php on line 262
#0 [internal function]: __error(2, 'Cannot modify h...', '/var/www/web93/...', 262, Array)
#1 system/modules/core/library/Contao/Template.php(262): header('Content-Type: t...')
#2 system/modules/core/classes/BackendTemplate.php(121): Contao\Template->output()
#3 contao/main.php(284): Contao\BackendTemplate->output()
#4 contao/main.php(146): Main->output()
#5 contao/main.php(293): Main->run()
#6 {main}
Ein Leerzeichen ist nicht am Anfang enthalten, die Datei ist ohne BOM im UTF8-Format abgespeichert (diese Ursachen kenne ich für die Meldung "Headers already sent ...".
Und direkt die Zusatzfrage: Im Registrierungsformular muss ich offensichtlich das Feld selbst einbauen, oder?
Lesezeichen