[TYPO3-german] tt_content Elemente innerhalb IRRE durch Flexform

Andreas Kiessling andreas.kiessling at web.de
Fri Jul 3 00:45:56 CEST 2015


Hi,

> 
> Am besten legst Du Deine Contentelemente in eine Spalte die nicht 
> angezeigt wird.
> 

Und dank eines Features seit 6.x kann man das so machen:

'foreign_table' => 'tt_content',
'foreign_record_defaults' => array(
    'colPos' => 99,
),

Aber: die erlaubten colPos werden noch durch eine itemsProcFunc
geschickt (wegen BackendLayouts), das hat bei mir dann beim abspeichern
zu Problemen geführt, da die colPos nicht erlaubt war. Dafür habe ich
keine Lösung parat, aber für Templavoila:

ext_tables.php

$GLOBALS['TCA']['tt_content']['columns']['colPos']['config']['items'][]
= array('don\' show in frontend', 99);
// unset the backendlayout hook
unset($GLOBALS['TCA']['tt_content']['columns']['colPos']['config']['itemsProcFunc']);

Und dann noch Templavoila sagen, dass es neue Elemente nicht automatisch
auf der Seite referenzieren soll:

ext_localconf.php
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tx_templavoila_tcemain']['doNotInsertElementRefsToPage']
= true;



HTH
Andreas


More information about the TYPO3-german mailing list