2017 © Pedro Peláez
 

typo3-cms-extension content-defender

Define allowed or denied content element types in your backend layouts

image

ichhabrecht/content-defender

Define allowed or denied content element types in your backend layouts

  • Saturday, June 23, 2018
  • by IchHabRecht
  • Repository
  • 4 Watchers
  • 23 Stars
  • 16,352 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 5 Open issues
  • 29 Versions
  • 35 % Grown

The README.md

TYPO3 Extension content_defender

Latest Stable Version StyleCI GitHub Actions, (*1)

Content Defender adds more options to define allowed or denied content element types in your backend layouts, (*2)

Installation

This extension can be installed using Composer or the Extension Manager., (*3)

Composer

composer require ichhabrecht/content-defender

Extension Manager

See TYPO3 Documentation - Managing Extensions - Legacy Guide, (*4)

Usage

  1. You only need to adjust the column configuration of your backend_layout

Restrict certain content element fields, (*5)

  • To allow a limited set of values for content element fields use allowed.field = [list of comma separated values]

Examples:, (*6)

columns {
    1 {
        name = Column with header and textmedia elements
        colPos = 3
        colspan = 6
        allowed {
            CType = header, textmedia
        }
    }
}
columns {
    1 {
        name = Column with News plugin only
        colPos = 3
        colspan = 6
        allowed {
            CType = list
            list_type = news_pi1
        }
    }
}

Combine multiple content element fields, (*7)

  • The example allows multiple content element types (text and list) while restricting plugin types to news only.

Example:, (*8)

columns {
    1 {
        name = A column with restricted list_type and "normal" CType
        colPos = 3
        colspan = 6
        allowed {
            CType = textmedia, list
            list_type = news_pi1
        }
    }
}

Deny certain content element types, (*9)

  • To remove a set of values from content element fields use disallowed.field = [list of comma separated values]

Examples:, (*10)

columns {
    1 {
        name = Column without divider, plain html and table elements
        colPos = 3
        colspan = 6
        disallowed {
            CType = div, html, table
        }
    }
}
columns {
    1 {
        name = Column with header and list, without News plugin
        colPos = 3
        colspan = 6
        allowed {
            CType = header, list
        }
        disallowed {
            list_type = news_pi1
        }
    }
}

Limit the number of content elements, (*11)

  • To restrict the number of content elements use maxitems = [number of elements]

Example:, (*12)

columns {
    1 {
        name = Column with one textmedia 
        colPos = 3
        colspan = 6
        allowed {
            CType = textmedia
        }
        maxitems = 1
    }
}

Known issues

TypeError

count(): Argument #1 ($value) must be of type Countable|array, null given, (*13)

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., (*14)

Community

The Versions

23/06 2018

dev-pre-merge

dev-pre-merge https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+ GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

23/06 2018

dev-update-skeleton

dev-update-skeleton https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

25/04 2018

dev-master

9999999-dev https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+ GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

16/04 2018

3.0.5

3.0.5.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

24/03 2018

dev-repair-dev-master-tests

dev-repair-dev-master-tests https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

24/03 2018

dev-prevent-execution-for-bypassAccessCheckForRecords

dev-prevent-execution-for-bypassAccessCheckForRecords https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

12/03 2018

3.0.4

3.0.4.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

01/02 2018

2.x-dev

2.9999999.9999999.9999999-dev https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

01/02 2018

3.0.3

3.0.3.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

01/02 2018

2.2.5

2.2.5.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

31/01 2018

dev-support-disabled-columns

dev-support-disabled-columns https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

30/01 2018

3.0.2

3.0.2.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

29/01 2018

3.0.1

3.0.1.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

28/01 2018

dev-fix-wizard-hook

dev-fix-wizard-hook https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

backend content typo3 cms restrict

18/12 2017

3.0.0

3.0.0.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

20/09 2017

2.2.4

2.2.4.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

07/08 2017

2.2.3

2.2.3.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

15/06 2017

2.2.2

2.2.2.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

13/06 2017

dev-fix-failing-copy

dev-fix-failing-copy https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

17/05 2017

2.2.1

2.2.1.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

17/05 2017

dev-fix-edit-with-maxitems

dev-fix-edit-with-maxitems https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

15/05 2017

dev-test-nimut-testing-framework

dev-test-nimut-testing-framework https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

13/05 2017

2.2.0

2.2.0.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

12/05 2017

2.1.0

2.1.0.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

11/05 2017

2.0.0

2.0.0.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

10/05 2017

1.0.3

1.0.3.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

10/05 2017

1.0.2

1.0.2.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

backend content typo3 cms restrict

08/05 2017

1.0.1

1.0.1.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

backend content typo3 cms restrict

08/05 2017

1.0.0

1.0.0.0 https://github.com/IchHabRecht/content_defender

Define allowed or denied content element types in your backend layouts

  Sources   Download

GPL-2.0+

The Requires

 

backend content typo3 cms restrict