On 20-06-13 21:15, Andreas Kiessling wrote:
For new CTypes, you need to define the visible fields on your own.
Have a look at the ext_tables.php from my demo extension that i created
for our usergroup:
https://github.com/akiessling/ak_accordion
Hi Andreas,
I have looked at the code of your extension, very helpful, but there is
something I don't understand.
The accordionAction you created fetches the records by first getting the
uid of the content element and use findByUid() to find the records.
public function accordionAction() {
$data = $this->configurationManager->getContentObject()->data;
$this->view->assign('content',$this->contentRepository->findByUid($data['uid']));
}
But the uid of the content element is stored in tt_content_uid. What did
you modify so that findByUid() searches in tt_content_uid instead of uid?
--
kind regards,
Muriel le Pair
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english