[Neos] Inline Editable Page Property

Aske Ertmann aske at moc.net
Sat Mar 22 16:14:05 CET 2014


Hello Stéphane

This doesn't sound related to me. Instead it sounds like you have some inconsistent logic in your template depending on the value of the boxed property, however it's hard to tell only with the provided information..

Greetings
Aske

On Mar 21, 2014, at 9:34 AM, Stéphane Wecker <stephane.wecker at openbridge.fr> wrote:

> Hello,
> 
> I've the same issue when I try to extend TYPO3.Neos.NodeTypes:Text
> 
> I add a checkbox named "boxed".
> If the checkbox is checked, I can edit the text.
> But when it's not, the default text is not selectable.
> 
> The html classes seems to be the same in both case.
> 
> My NodeTypes.yaml :
> -----------------------------
> ##
> # Adjust the "Text" node type:
> # Add wrap option
> #
> 'TYPO3.Neos.NodeTypes:Text':
> ui:
>   inspector:
>     groups:
>       boxed:
>         label: 'Boxed'
>         position: 2
> properties:
>   boxed:
>     type: boolean
>     defaultValue: FALSE
>     ui:
>       label: 'Boxed ?'
>       reloadIfChanged: TRUE
>       inspector:
>         group: 'boxed'
> 
> The typoscript in Root.ts :
> ------------------------------------
> prototype(TYPO3.Neos:Text) {
> templatePath = 'resource://TYPO3.NeosDemoTypo3Org/Private/Templates/TypoScriptObjects/Text.html'
> boxed = ${q(node).property('boxed')}
> text = ${q(node).property('text')}
> }
> 
> 
> _______________________________________________
> Neos mailing list
> Neos at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/neos



More information about the Neos mailing list