Download the PHP package dd/evolutioncms-plugins-managermanager-mm_dddependentfields without Composer
On this page you can find all versions of the php package dd/evolutioncms-plugins-managermanager-mm_dddependentfields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dd/evolutioncms-plugins-managermanager-mm_dddependentfields
More information about dd/evolutioncms-plugins-managermanager-mm_dddependentfields
Files in dd/evolutioncms-plugins-managermanager-mm_dddependentfields
Download dd/evolutioncms-plugins-managermanager-mm_dddependentfields
More information about dd/evolutioncms-plugins-managermanager-mm_dddependentfields
Files in dd/evolutioncms-plugins-managermanager-mm_dddependentfields
Vendor dd
Package evolutioncms-plugins-managermanager-mm_dddependentfields
Short Description The plugin allows to link 2 fields with a master-dependent relation. Dependent field will only be used (displayed) only when Master field has a specific value. Value of Dependent field will also be cleared when it is not used (hidden).
License
Homepage https://code.divandesign.biz/modx/mm_dddependentfields
Package evolutioncms-plugins-managermanager-mm_dddependentfields
Short Description The plugin allows to link 2 fields with a master-dependent relation. Dependent field will only be used (displayed) only when Master field has a specific value. Value of Dependent field will also be cleared when it is not used (hidden).
License
Homepage https://code.divandesign.biz/modx/mm_dddependentfields
Please rate this library. Is it a good library?
Informations about the package evolutioncms-plugins-managermanager-mm_dddependentfields
(MODX)EvolutionCMS.plugins.ManagerManager.mm_ddDependentFields
The plugin allows to link 2 fields with a master-dependent relation:
- Dependent field will only be used (displayed) only when Master field has a specific value.
- Value of Dependent field will also be cleared when it is not used (hidden).
Requires
- PHP >= 7.4 (not tested with older versions)
- (MODX)EvolutionCMS.plugins.ManagerManager >= 0.7
Installation
To install you must unzip the archive to /assets/plungins/managermanager/widgets/dependentFields/
.
You may also read this documentation:
Parameters description
-
$params
- Desctription: The object of parameters.
- Valid values:
stdClass
arrayAssociative
- Required
-
$params->masterFieldName
- Desctription: The name of the document field (or TV) to be Master.
- Valid values:
string
- Required
-
$params->masterFieldValue
- Desctription: The value of the Master field when the Dependent field should be used.
- Valid values:
string
- Default:
null
-
$params->dependentFieldName
- Desctription: The name of the document field (or TV) to be Dependent.
- Valid values:
string
- Required
-
$params->roles
- Desctription: The CMS user roles that the widget is applied to.
- Valid values:
array
stringCommaSeparated
''
— when this parameter is empty then widget is applied to the all roles
- Default value:
''
-
$params->roles[$i]
- Desctription: CMS user role ID.
- Valid values:
integer
- Required
-
$params->templates
- Desctription: Document templates IDs for which the widget is applied to.
- Valid values:
array
stringCommaSeparated
''
— empty value means the widget is applying to all templates
- Default value:
''
$params->templates[$i]
- Desctription: Template ID.
- Valid values:
integer
- Required
CMS events
OnDocFormPrerender
OnDocFormRender
Examples
Make a page's publish date dependent on its publish status
pub_date
will be visible only whenpublished
is on (==1
).- Value of
pub_date
will be cleared whenpublished
is off.
Links
All versions of evolutioncms-plugins-managermanager-mm_dddependentfields with dependencies
PHP Build Version
Package Version
The package dd/evolutioncms-plugins-managermanager-mm_dddependentfields contains the following files
Loading the files please wait ....