[TYPO3-german] TCA Frage / Problem [GELÖST]

Johannes C. Laxander jc at laxander.com
Thu Nov 17 11:54:16 CET 2016


Hi Mark,

super, danke, das war's! :)

Ich sag ja immer: Kaum macht man(n)'s richtig, schon geht's... ! ;)

Gruß, Johannes

> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> bounces at lists.typo3.org] Im Auftrag von Mark Boland
> Gesendet: Donnerstag, 17. November 2016 10:51
> An: Typo3-german <typo3-german at lists.typo3.org>
> Betreff: Re: [TYPO3-german] TCA Frage / Problem
> 
> Hi Johannes,
> 
> er hat nicht ganz unrecht, du überschreibst die evtl. vorhandene ‚columns’
> Definition.
> 
> Ändere die erste Zuweisung von
> 
> ...][’tx_jobfair_domain_model_job’]
> 
> In
> 
> ...][’tx_jobfair_domain_model_job’][‘types’]
> 
> um. Dann überschreibst Du nicht das komplette Array.
> 
>  Grüße
> 
> Mark
> 
> Am 17.11.16, 10:19 schrieb "Johannes C. Laxander" <typo3-german-
> bounces at lists.typo3.org im Auftrag von jc at laxander.com>:
> 
>     Hallo,
> 
>     entschuldigt bitte meine Ungeduld, ich bin gerade etwas unter Druck und
>     komme hier nicht weiter.
>     Kann mir jemand einen "erlösenden" Tipp zu meinem Problem geben?
> 
>     Gruß, Johannes.
> 
>     > bounces at lists.typo3.org] Im Auftrag von Johannes C. Laxander
>     > Gesendet: Mittwoch, 16. November 2016 18:39
>     > Betreff: [TYPO3-german] TCA Frage / Problem
>     >
>     > Hallo,
>     >
>     > ich möchte das Backendformular abändern und habe dazu unter
>     > „Configuration/TCA/Overrides die Datei
>     > „tx_jobfair_domain_model_job.php“ mit diesemCode angelegt:
>     >
>     > $GLOBALS['TCA']['tx_jobfair_domain_model_job'] = array(
>     >     'types' => array(
>     >         '1' => array(
>     >             'showitem' => 'hidden, job_title,
>     >                 --palette--;Adresse für Geo Coding;geoaddress,
>     >                short_job_description, job_type, region, contact,
>     discipline, internal_notes,
>     >
>     --div--
> ;LLL:EXT:jobfair/Resources/Private/Language/locallang_db.xlf:tx_jobfa
>     ir_domain_model_application, application,
>     >                 --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
>     starttime, endtime',
>     >         ),
>     >     ),
>     > );
>     >
>     >
> $GLOBALS['TCA']['tx_jobfair_domain_model_job']['palettes']['geoaddress']
> =
>     array(
>     >     'showitem' => '
>     >                                zip;' . $jobfairextendedLanguageFilePrefix
>     .'zip,
>     >                                location;' .
>     $jobfairextendedLanguageFilePrefix . 'city,
>     >                                country;' .
>     $jobfairextendedLanguageFilePrefix . 'country,
>     >                 ',
>     > );
>     >
>     > Wenn ich dann im Backend in die Listenansicht gehe wird mir diese
> Meldung
>     angezeigt:
>     >
>     > TCA-Definition fehlt
>     > Warnung: Für die Tabelle &quot;tx_jobfair_domain_model_job&quot;
> wurden
>     keine Felder gefunden.
>     > $TCA['tx_jobfair_domain_model_job']['columns'] enthält nicht die
>     notwendigen Definitionen.
>     >
>     > Ohne obigen Code funktioniert alles. Was mache ich falsch?
>     >
>     > Gruß, Johannes.
> 
>     _______________________________________________
>     TYPO3-german mailing list
>     TYPO3-german at lists.typo3.org
>     http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> 
> 
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list