FluidTYPO3/fluidcontent

allowedContentTypes: mix of fluidcontent_content and e.G. textmedia does not work

Opened this issue · 6 comments

if i want to predefine the following three content elements, i find the fluidcontent element under plugins. see screenshot

<flux:grid.column colPos="0" name="column0">
                        <flux:form.variable name="allowedContentTypes" value="textmedia,list,fluidcontent_content" />
                        <flux:form.variable name="Fluidcontent" value="{allowedContentTypes: 'my_website:TeaserIcon.html'}" />
                    </flux:grid.column> 

what goes wrong there?
unbenannt-8

As far as I can see those are the correct allowed types according to your setup. Could you explain what you expect as a result?

I thought in ideal case that there is a own group tab ("FCE" or whatever). Is this possible?

If you set the group option of the TeaserIcon.html element to FCE then that is what should happen.

we set the group with the following code, or am i wrong?

<flux:form options="{group: 'myname', icon: '/typo3conf/ext/mysite/Resources/Public/Icons/Content/Example.svg'}" id="teasericon">

but no group appears when we predefine a fce like above.
if we create a new content without predefining, we see our group.

Correct - alternatively you can use <flux:form.option name="group">groupname</flux:form.option> if you prefer a more XML-like config.

but it does not work! No group appears