This page is still incomplete. Please help us to write a comprehensive CONTENIDO documentation.
- Action — An action is a name for a certain task that should be performed when requesting a page in the CONTENIDO backend.
- Area — An area is a name for a set of scripts that should be executed when a certain subnavigation item is clicked.
- Frame — The CONTENIDO backend is divided into several frames.
- Navigation — The navigation consists of the main- and subnavigation.
Each page in the CONTENIDO backend corresponds to a PHP script in
ROOT/contenido/includes. Instead of calling these scripts directly by URL, links in the backend have this form:
For certain links an additional parameter action is appended resulting in an URL like:
To create a backend URL in your plugin you could use the session object. It has a method url() which allows to extend a given URL by the current backend session ID, a hash value which is transfered as parameter
In order for a PHP file to be callable via
main.php it has to have a record in the . This requires a relation to an area in the tablearea table. An area can best be described as a set of backend scripts that serve a common purpose and belong to a subnavigation item. It's not much more than a name having some properties which will be described in the area page in detail. As you might have seen the CONTENIDO backend still uses frames. In order to let CONTENIDO know in which frame a script will be displayed in, the record in the files table has to be mapped to its frame which is achieved by another record in frame_files table. With all these records CONTENIDO is able to call a script, but still a link, i.e. a navigation item, to call it is missing. That's what the main- and subnavigation is needed for.