Download the PHP package ichhabrecht/content-defender without Composer
On this page you can find all versions of the php package ichhabrecht/content-defender. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ichhabrecht/content-defender
More information about ichhabrecht/content-defender
Files in ichhabrecht/content-defender
Package content-defender
Short Description Define allowed or denied content element types in your backend layouts
License GPL-2.0-or-later
Homepage https://github.com/IchHabRecht/content_defender
Informations about the package content-defender
TYPO3 Extension content_defender
Content Defender adds more options to define allowed or denied content element types in your backend layouts
Installation
This extension can be installed using Composer or the Extension Manager.
Composer
Extension Manager
See TYPO3 Documentation - Managing Extensions - Legacy Guide
Usage
- You only need to adjust the column configuration of your backend_layout
Restrict certain content element fields
- To allow a limited set of values for content element fields use
allowed.field = [list of comma separated values]
Examples:
Combine multiple content element fields
- The example allows multiple content element types (text and list) while restricting plugin types to
news
only.
Example:
Deny certain content element types
- To remove a set of values from content element fields use
disallowed.field = [list of comma separated values]
Examples:
Limit the number of content elements
- To restrict the number of content elements use
maxitems = [number of elements]
Example:
Known issues
TypeError
count(): Argument #1 ($value) must be of type Countable|array, null given
Content Defender needs the runtime cache to be available. Please ensure that this cache doesn't use a \TYPO3\CMS\Core\Cache\Backend\NullBackend backend.
Community
- Thanks to b13 that sponsored the maintenance of this extension with a sponsorship
- Thanks to Wolfgang Wagner who sponsored the maintenance of this extension with a sponsorship
- Thanks to WACON Internet GmbH that sponsored the maintenance of this extension with a GitHub sponsorship
- Thanks to Daniel Goerz who wrote about content_defender in his blog useTYPO3
- Thanks to Marcus Schwemer who wrote about content_defender in his blog TYPO3worx
All versions of content-defender with dependencies
typo3/cms-backend Version ^11.5 || ^12.4 || ^13.4
typo3/cms-core Version ^11.5 || ^12.4 || ^13.4