salvador
(Salvador Atienza)
August 9, 2018, 10:08am
1
Hello,
I have a very basic question about aloha and it would be kind if anyone could help me.
How can I set up Aloha. Me setup is the following, but it does not work:
yaml
properties:
section2ctlir2Text:
type: string
defaultValue: ‘Text’
ui:
label: ‘Text’
aloha:
‘format’:
‘*’ : true
‘h2’ : true
inlineEditable: true
html
{neos:contentElement.editable(property: 'section2ctlir2Text')}
Thank you
Regards
Matschess
(Matthias Lang)
August 10, 2018, 8:01am
2
Hey @salvador ,
Your nesting isn’t correct.
Use:
properties:
section2ctlir2Text:
type: string
defaultValue: ‘Text’
ui:
inlineEditable: true
aloha:
format:
h2: true
I’m not sure if section2ctlir2Text is a valid name. Rather avoid digits in propterty names.
Matthias
salvador
(Salvador Atienza)
August 10, 2018, 8:45am
3
Matschess:
aloha
Hello Matthias,
thank you very much for your reply.
Appliying your configuration I get following error:
Unable to parse at line 53 (near " aloha:").
Exception Code 0
Exception Type Symfony\Component\Yaml\Exception\ParseException
Thrown in File C:\dev\xampp\htdocs\neos.test\Packages\Libraries\symfony\yaml\Parser.php
Line 288
Do you know what’s wrong ?
Thank you a lot!
Regards
Salvador
Matschess
(Matthias Lang)
August 10, 2018, 10:39am
4
Hey @salvador !
Sorry, I’ve made a wrong nesting too. I’ve edited my post above.