Suggestion #70451
Documentation: Explain quickly with a code example how to create new content element
0%
Description
https://docs.typo3.org/typo3cms/extensions/gridelements/Chapters/Faq/Index.html
There are different ways to create a new content element.Source:
- https://speakerdeck.com/benjaminkott/typo3-content-elemente-mit-fluid
- http://t3-developer.com/typo3-installation/einrichtung/typo3-erweiteren/eigene-contentelemente-in-typo3-erstellen/
- http://typo3.org/extensions/repository/view/fluid_contentelements
- https://github.com/benjaminkott/bk2k_content_elements
- https://github.com/benjaminkott/t3crr_contentelements
you see, very different approaches. And since TYPO3 7.5 we even have another one:
https://wiki.typo3.org/TYPO3.CMS/Releases/7.5/Feature#Feature:_.2338732_-_Fluid-based_Content_Elements_Introduced
I think it should be clear which one is the best and should be used.
I guess the t3crr_contentelements approach is the best.
History
#1
Updated by Jo Hasenau about 4 years ago
- Status changed from New to Rejected
Well - there are the "fluid powered" stuff, DCE, mask and some others as well and since the FAQ section is just about the 2 questions
Why is it not recommended to use the flexform for the creation of new content elements? But how should I create new content elements with individual input fields then?
there is no need to have a more detailed explanation there than the one currently already provided.
IMHO it's not the job of the Gridelements manual to decide about the recommended ways to create new content elements. But at least we should explain what is not recommended to do with Gridelements. And since each of the lots of different ways to create those content elements is working fine with Gridelements, people can decide, which kind of features they need and which kind of drawbacks they are willing to accept for these features.
#2
Updated by Simon Schaufelberger about 4 years ago
I totally understand your point but for me it is really hard to figure out how do implement a new content element. even the Core is not documented well in this part. So that means hours of googling and searching and trying out -> wasting time :( How I wish there would be a wizzard for that like the extension_builder for extension :D
#3
Updated by Jo Hasenau about 4 years ago
You should check out the "Mask" extension then, which has been recently published to the TER.
It looks and feels pretty much like the good old 4.x "kickstarter" on steroids and should do exactly what you have been asking for.