This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| typo3_sitepackage_contentelements [2018/09/27 13:36] – [Configure template] admin | typo3_sitepackage_contentelements [2018/09/28 07:53] (current) – admin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| This will show your new element in the content element wizard | This will show your new element in the content element wizard | ||
| - | <code typoscript Configuration/ | + | <code typoscript Configuration/ |
| - | ####################################### | + | |
| # Custom Contentelements based on fluid | # Custom Contentelements based on fluid | ||
| mod.wizards.newContentElement.wizardItems.common { | mod.wizards.newContentElement.wizardItems.common { | ||
| Line 92: | Line 91: | ||
| <code typoscript> | <code typoscript> | ||
| - | + | # Add template path for your extension | |
| - | ### Add template path for your extension | + | |
| lib.contentElement { | lib.contentElement { | ||
| templateRootPaths { | templateRootPaths { | ||
| Line 100: | Line 98: | ||
| } | } | ||
| - | ### Load defaults and define Template | + | # Load defaults and define Template |
| tt_content { | tt_content { | ||
| myextkey_elementname =< lib.contentElement | myextkey_elementname =< lib.contentElement | ||
| Line 123: | Line 121: | ||
| You'll find all available CEs in '' | You'll find all available CEs in '' | ||
| + | |||
| + | ==== Config field for certain cType ==== | ||
| + | |||
| + | <code php> | ||
| + | $GLOBALS[' | ||
| + | $GLOBALS[' | ||
| + | </ | ||