Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

datatype.ini [ViewSettings]

The settings of [ViewSettings] in datatype.ini: GroupedInput, CustomActionMap

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/datatype/ViewSettings.md

On this page

datatype.ini [ViewSettings]

The block [ViewSettings] of settings/datatype.ini, with 2 setting(s).

Settings related to content view and datatypes

Never edit settings/datatype.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/datatype.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/datatype.ini.append.php for one siteaccess,
  • extension/<extension>/settings/datatype.ini.append.php in an extension (read when the extension is active).

GroupedInput

A list of datatypes that needs to group output data
when displayed in view mode
NOTE: The datatype may override this using PHP code

Default: a list of 6: ezinisetting, ezmultioption, ezoption, ezrangeoption, ezpackage, ezuser.

<?php /* #?ini charset="utf-8"?
# settings/override/datatype.ini.append.php
[ViewSettings]
# an empty "GroupedInput[]" first replaces the shipped list; without it the items are added
GroupedInput[]
GroupedInput[]=ezinisetting
GroupedInput[]=ezmultioption
GroupedInput[]=ezoption
GroupedInput[]=ezrangeoption
GroupedInput[]=ezpackage
GroupedInput[]=ezuser
*/ ?>

CustomActionMap

List of custom datatype actions and corresponding <module>/<view> or
just <view> in case of content module where they should be executed
eg: CustomActionMap[ActionAddToBasket]=shop/basket
eg: CustomActionMap[ActionCollectInformation]=collectinformation
Note: Action definition should be defined in contentActionList function
of the datatype, see ez[multi]pricetype.php for code example.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/datatype.ini.append.php
[ViewSettings]
# an empty "CustomActionMap[]" first replaces the shipped list; without it the items are added
CustomActionMap[]
*/ ?>

Generated by ./console exp:help:examples from settings/datatype.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x