2017 © Pedro Peláez
 

library display-cond-user-func

image

jensjacobsen/display-cond-user-func

  • Monday, March 5, 2018
  • by helhum
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

DisplayCondUserFunc

TYPO3 6.2 LTS Backport for Feature: #62944 - UserFunc available as Display Condition (https://forge.typo3.org/issues/62944), (*1)

Description

Being able to use userFunc as displayCondition makes it possible to check on any imaginable condition or state. If any situation can not be evaluated with any of the existing checks the developer is free to add an own user function which provides a boolean result whether to show or hide the TCA field., (*2)

$GLOBALS['TCA']['tt_content']['columns']['bodytext']['displayCond'] =
    'USER:Evoweb\\Example\\User\\ElementConditionMatcher->checkHeaderGiven:any:more:information';

Divided by colons any parameters can be added that are sent to the ConditionMatcher class., (*3)

TYPO3 7.x Commit

https://github.com/TYPO3/TYPO3.CMS/commit/cdcf56c8f77321f87e4a85974e27385066a23d2c, (*4)

The Versions

05/03 2018

6.2.0

6.2.0.0

  Sources   Download

12/10 2015

dev-master

9999999-dev https://github.com/jacobsenj/display_cond_user_func

A backport extension for TYPO3 6.2 - Backports Feature: #62944 - UserFunc available as Display Condition

  Sources   Download

GPL-2.0+

typo3 cms displaycond userfunc

12/10 2015

6.2.1

6.2.1.0 https://github.com/jacobsenj/display_cond_user_func

A backport extension for TYPO3 6.2 - Backports Feature: #62944 - UserFunc available as Display Condition

  Sources   Download

GPL-2.0+

typo3 cms displaycond userfunc