[Typo3-german] Eigenes Submodul wie Web/Liste - Wie?
Chi Hoang
chibo at gmx.de
Tue Dec 6 18:54:08 CET 2005
Jan-Philipp Halle schrieb:
> $categories = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*',
> 'tx_vcatalog_category', '');
> $category = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($categories);
> $row = $category;
> $trData = t3lib_div::makeInstance('t3lib_transferData');
> $trData->renderRecord('tx_vcatalog_category', $row['uid'], $row['pid'],
> $row);
> reset($trData->regTableItems_data);
> $row = current($trData->regTableItems_data);
> $form = t3lib_div::makeInstance('t3lib_TCEforms');
> $form->initDefaultBEmode();
> $content = $form->getMainFields('tx_vcatalog_category', $row);
> $content = $form->wrapTotal($content, $category, 'tx_vcatalog_category');
im code von der dam-liste wird um ein formular zu erzeugen doch
lediglich alt_doc mit der tabelle und der uid aufgerufen. meiner meinung
sind das keine tce-forms in dam, sondern es sieht nur so aus! Hilft
dir das weiter?
code:
onclick=document.location='../../../../typo3/alt_doc.php?returnUrl='+T3_THIS_LOCATION+'&edit[tx_dam][2]=edit
More information about the TYPO3-german
mailing list