Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

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

Open
blueamerican opened this issue Jun 21, 2016 · 6 comments

Comments

@blueamerican
Copy link

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

@NamelessCoder
Copy link
Member

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?

@blueamerican
Copy link
Author

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

@NamelessCoder
Copy link
Member

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

@blueamerican
Copy link
Author

blueamerican commented Jun 29, 2016

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.

@NamelessCoder
Copy link
Member

NamelessCoder commented Jun 29, 2016

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

@blueamerican
Copy link
Author

but it does not work! No group appears

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants