Created
July 24, 2013 15:15
-
-
Save pumatertion/6071498 to your computer and use it in GitHub Desktop.
exception on new element based on supertype:
TYPO3.Neos:Content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{namespace neos=TYPO3\Neos\ViewHelpers} | |
<neos:contentElement node="{node}"> | |
<neos:contentElement.editable property="title">{title -> f:format.raw()}</neos:contentElement.editable> | |
</neos:contentElement> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception while rendering | |
page<TYPO3.Neos:Page>/body<TYPO3.Neos:Template>/content/intro<TYPO3.Neos:ContentCollection>/default<TYPO3.TypoScript:Matcher>/element<TYPO3.Neos:ContentCollection.Default>/itemRenderer<TYPO3.Neos:ContentCase>/default<TYPO3.TypoScript:Matcher>/element<BLEICKER.Commerce:ArticleMetaData>: | |
The TypoScript object at path "page/body/content/intro/default/element/itemRenderer/default/element" could not be rendered: Missing implementation class name for "BLEICKER.Commerce:ArticleMetaData". Add @class in your TypoScript configuration. (20130724170154fef536) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'BLEICKER.Commerce:ArticleMetaData': | |
superTypes: ['TYPO3.Neos:Content'] | |
ui: | |
label: 'Article Meta Data' | |
icon: 'icon-file-text' | |
properties: | |
title: | |
type: string | |
defaultValue: '<h1>Enter Article Title Here</h1>' | |
ui: | |
inlineEditable: TRUE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Article Meta Data TS Object | |
prototype(BLEICKER.Commerce:ArticleMetaData) < prototype(TYPO3.Neos:Template) | |
prototype(BLEICKER.Commerce:ArticleMetaData) { | |
templatePath = 'resource://BLEICKER.CommerceAdmin/Private/Templates/TypoScriptObjects/ArticleMetaData.html' | |
title = ${q(node).property('title')} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment