Hallo zusammen,
nachdem ich lange Zeit ohne Frage mit Typo3 gearbeitet habe, stehe ich nun seit 2 Woche vor einigen ungelösten Problemen:
#117836
#117829
Bei meinem aktuellen Problem möchte ich die sr_feuser_register (3.1.2) um ein UPLOAD Feld erweitern.
Ich habe mich dazu am Bild Upload orientiert und den Marker:
<!-- ###SUB_INCLUDED_FIELD_tx_oebs_cv### -->
<dt>
<label for="tx-srfeuserregister-pi1-tx_oebs_cv">###LABEL_TX_OEBS_CV### ###REQUIRED_TX_OEBS_CV###</label>
</dt>
<dd>
<!-- ###SUB_ERROR_FIELD_tx_oebs_cv### -->
<p class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_tx_oebs_cv###</p>
<!-- ###SUB_ERROR_FIELD_tx_oebs_cv### -->
<!-- ###SUB_REQUIRED_FIELD_tx_oebs_cv### -->
<p class="tx-srfeuserregister-pi1-error">###MISSING_TX_OEBS_CV###</p>
<!-- ###SUB_REQUIRED_FIELD_tx_oebs_cv### -->
###UPLOAD_tx_oebs_cv###
</dd>
<!-- ###SUB_INCLUDED_FIELD_tx_oebs_cv### -->
Im Typoscript habe ich folgendes:
plugin.tx_srfeuserregister_pi1.evalValues.tx_oebs_cv=upload[1]
plugin.tx_srfeuserregister_pi1.parseValues.tx_oebs_cv=file
IM FE wird das Feld nicht angezeigt sondern es steht die Information das der TCA Type group nicht unterstützt wird:
group:unsupported
Im Quellcode von der sr_feuser_register (3.1.2) (class.tx_srfeuserregister_tca.php Line:926) zeigt sich das nur SELECT, RADIO, INPUT, TEXT verarbeitet werden. Ist ein zusätzlicher FileUpload mit sr_feuser_register nicht möglich? Warum wird dann das Bild verarbeitet? Habe ich einen Fehler in meiner TCA des Feldes?
Hier meine TCA:
$tempColumns = array(
'tx_oebs_description' => array(
'exclude' => 0,
'label' => 'LLL:EXT:oebs/locallang_db.xml:tx_oebs_description',
'config' => array(
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_oebs_cv' => array(
'exclude' => 0,
'label' => 'LLL:EXT:oebs/locallang_db.xml:tx_oebs_cv',
'config' => array(
'type' => 'group',
'internal_type' => 'file',
'allowed' => 'doc',
'disallowed' => 'php,php3',
'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
'uploadfolder' => 'fileadmin/oebs/cv',
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
)
),
);
t3lib_div::loadTCA('fe_users');
t3lib_extMgm::addTCAcolumns('fe_users',$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes('fe_users','tx_oebs_description;;;richtext[]:rte_transform[mode=ts_css|imgpath=uploads/tx_oebs/rte/];1-1-1,tx_oebs_cv');
Bitte um Support