This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
forked from fgerards/fluidcontent
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Support white/blacklist allowed FCE types
The same as the `allowedContentType` and `deniedContentTypes` feature in Flux: ```xml <flux:grid.column variables="{Fluidcontent: {allowedContentTypes: 'fluidcontent_bootstrap:Alert.html'}}" /> ``` And the same for `deniedContentTypes`. The setting is inherited from page column to container elements' columns, but not from container element to nested container element. Which means you can filter the allowed content types in both page template's Grid and FCE's content area.
- Loading branch information
1 parent
8c26fef
commit 5d63b57
Showing
1 changed file
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5d63b57
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great great great greeeat - thank you SO much! :-))))
5d63b57
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean the elements are filtered when trying to place it or even beforehand, so the elements are not shown to pick in the page module?
5d63b57
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It happens through a filtering that gets executed from the new content element wizard and is applied as a white- and/or blacklist which either permits or denies a certain element by
CType
value. You can still change the content types manually afterwards if your user account has access to editing the "Content type" field.