How to write a Module with an administrator interface

Modules can add features to Organizer and the Admin Toolbar of Zenario.

They can add completely new sets of features, or they can modify the behaviour of other modules.

These guides will show you how to make a Module display things in Organizer, and how to use the Admin Box toolkit.

How to make a Module with an Admin Interface

If you want to add new functionality that administrators will see, you will need to write a module with an admin interface.

Using YAML and TUIX

Many of your module's files need to be written in a special language called YAML. YAML is a human-readable data format that is compatible with both JSON and PHP arrays.

Example Module 4: An Organizer Application

The Animal Manager is a sample Organizer application that enables an administrator to manage a set of data records containing "animals".

Structure of an Admin Box

This graphic shows how the code in your .yaml file is used to define the properties of an Admin Box and create elements inside it:

Structure of an Organizer Panel

This graphic shows how the code in your .yaml files is used in Organizer:

Organizer URLs, Paths and Links

While using Organizer, you will notice that the URL bar changes depending on where you are and what you click on.