Skip to content

Instantly share code, notes, and snippets.

@pumatertion
Created July 24, 2013 15:15
Show Gist options
  • Save pumatertion/6071498 to your computer and use it in GitHub Desktop.
Save pumatertion/6071498 to your computer and use it in GitHub Desktop.
exception on new element based on supertype: TYPO3.Neos:Content
{namespace neos=TYPO3\Neos\ViewHelpers}
<neos:contentElement node="{node}">
<neos:contentElement.editable property="title">{title -> f:format.raw()}</neos:contentElement.editable>
</neos:contentElement>
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)
'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
# 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