fluidcontent icon indicating copy to clipboard operation
fluidcontent copied to clipboard

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

Open blueamerican opened this issue 8 years ago • 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

blueamerican avatar Jun 21 '16 15:06 blueamerican

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?

NamelessCoder avatar Jun 21 '16 20:06 NamelessCoder

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

blueamerican avatar Jun 22 '16 06:06 blueamerican

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

NamelessCoder avatar Jun 22 '16 09:06 NamelessCoder

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.

blueamerican avatar Jun 29 '16 12:06 blueamerican

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

NamelessCoder avatar Jun 29 '16 13:06 NamelessCoder

but it does not work! No group appears

blueamerican avatar Jun 29 '16 13:06 blueamerican