Hallo Leute1
Im Backend kann ich wunderbar tt_content CE in meinen Datensätzen (als IRRE)
anlegen. Die werde gespeichert und ich kann sie verändern.
Ich hab nun im TS folgendes stehen:
plugin.myext_test {
..
persistence {
storagePid = {$plugin.tx_myext.persistence.storagePid}
#recursive = 1
detailPid = {$plugin.tx_myext.persistence.detailPid}
enableAutomaticCacheClearing = 1
updateReferenceIndex = 0
classes {
My\MyExt\Domain\Model\Content {
mapping {
tableName = tt_content
columns {
uid.mapOnProperty = uid
pid.mapOnProperty = pid
sorting.mapOnProperty = sorting
CType.mapOnProperty = contentType
header.mapOnProperty = header
}
}
}
}
}
features {
skipDefaultArguments = 1
}
mvc {
#callDefaultActionIfActionCantBeResolved = 1
}
}
Model und Repository sind angelegt. Im Controller von test steht das
$contents = $this->contentRepository->findAll();
$this->view->assign('contents', $contents);
Nach dieser Anleitung:
Aber im Fluid Template erscheint mit <f:debug>{contents}</f:debug> NULL.
Bin nach dieser Anleitung vorgegangen:
http://www.lukasjakob.com/get-tt_content-data-in-your-extbase-extension/
Könnt ihr mir helfen?
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german