Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.56 KB

File metadata and controls

52 lines (32 loc) · 1.56 KB

FieldTypeHookExample

This is an datacollection field type example plugin.

Requirements

  • PHP: Minimum PHP Version Maximum PHP Version
  • ILIAS: Minimum ILIAS Version

Installation

Before installing the plugin ensure all requirements are given.

  1. Clone this repository to ILIAS_ROOT/public/Customizing/global/plugins/Modules/DataCollection/FieldTypeHook
  2. Enter the ILIAS repository and do composer install
  3. Login to ILIAS with an administrator account (e.g. root)
  4. Select Plugins in Extending ILIAS inside the Administration main menu
  5. Search for the FieldTypeHookExample plugin in the list of plugin and choose Install and then Activate from the * Actions* drop down

Configuration

After the installation you can select the field type for a new fields inside a DataCollection.

  1. Enter or create a DataCollection in the repository
  2. Enter the tab Tables
  3. Select a table
  4. Click Add New Field
  5. Select the new type inside the selection Datatype
  6. Enter a Title and click Create field

On a new entry creation the field can now be filled with plugin specific data. In the case of the example plugin this is just a checkbox/boolean value.

Specifications

None

Correlation

None

Bugs

None

Other information

License

https://www.gnu.org/licenses/gpl-3.0.en.html