[Neos] Inline Editable Page Property

Rens Admiraal rens.admiraal at typo3.org
Thu Mar 20 13:55:38 CET 2014


Just a quick copy paste of code we use that should make it editable for you.

HTML Template:
{namespace neos=TYPO3\Neos\ViewHelpers}
{neos:contentElement.editable(property:'abstract', tag: 'div')}

abstract = TYPO3.Neos:Content {
	node = ${documentNode}
	abstract = ${q(documentNode).property('title')}
	templatePath = 

I copied the code from a project and made some manual adjustments, but 
this should make abstract inline editable.


Carsten Bleicker schreef op 16/03/14 12:41:
> +1
> I am also interested in this.
> Am 16.03.2014 um 12:36 schrieb Benno Weinzierl <bw at s2intermedia.de>:
>> Hi Forum,
>> i have created a Custom Nodetype (derived from Page) with an additional property "abstract".
>> This property is configured to be inlineEditable in the NodeTypes.yaml and put out using the "editable" ViewHelper directrly in the body-template. It is also passed to the template in the ts2 prototype of my NodeType.
>> Now the Problem:
>> If i create the NodeType i see the default text of the abstract in my template just fine. BUT: The Aloha Editor is not loaded and the element is not selectable to edit. It gets the editable-css-class but is not editable.
>> Is it not possible to inline-edit properties of Document-Type NodeTypes?
>> I played around with custom content elements and they work just fine.
>> _______________________________________________
>> Neos mailing list
>> Neos at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos

More information about the Neos mailing list