Developer's guide
Table of Contents
Developer's guide
TYPOlight can easily be extended by custom modules. Use the module creator to set up the basic file structure of your extension. Do not modify any files outside your modules directory. You can overwrite any core setting in a configuration or data container file. If you want to add functionality to a class, please use a hook or request a new one if there is none.
Table configuration array
TYPOlight automatically renders back end forms from the global table configuration array. This array consists of several data container arrays, each describing a particular table. Data container arrays are stored in the dca folder of a module. When the system is initialized, all DCA files are parsed and put together to one big configuration array. You can overwrite any core setting in your custom extension.
- Configuration -- global settings like versioning
- Listing -- define how records are listed
- Operations -- define the buttons next to each record
- Palettes -- group input fields and load subpalettes
- Fields -- define the form fields required to edit a record
- Evaluation -- configure a field in detail
Hooks
Hooks allow you to register callback functions that are called on a particular event in a specific order. You can add custom functionality to the core without having to modify the source code.
- Hooks -- available hooks
API documentation
TYPOlight is based on an MVC framework that provides libraries to handle certain tasks. There are four default libraries being loaded automatically: Config, Input, Environment and Session. If you need other libraries, use the import() function to load them.
- TYPOlight API -- interface documentation
If you have any questions, you are welcome to ask in the forum.
Attachments
- typolight-developers-guide.pdf (153.3 KB) - added by leo 3 months ago.