One of the notable benefits of REDAXO are the flexible and easy to create modules, which you can equip with several custom fields and control in every detail. You can stack numerous modules and arrange them in any order.
The developer is able to define both the entire input and output for any given module. The input is what you see when you switch a module to the edit mode. For the input code you usually set up form elements which allow for saving the data. This is how it could look like:
<input type="text" name="REX_INPUT_VALUE" value="REX_VALUE" />
The output code in its most simple form would be:
This is an example for running text with textile markup entered in the Markitup editor.
Insert “Enter” once produces a line break, twice starts a new paragraph.
$textile = htmlspecialchars_decode(rex_global_settings::getValue('glob_info'));
Nothing is more powerful than an idea whose time has come.
Note on downloads:
In order to not only link to a file but force it to download, the demo consists of an article using a specific template which takes care of the download.
The download module adds the file size and displays a corresponding file type icon (can be extended by further icons).
In the textile editor, you can mark up table cells by inserting a pipe: |
Of course, all table rows must consist of the same amount of cells.
Running text within a column of 1/3 width. This module places two columns side by side in viewports smaller than 992 px and one column per line in viewports smaller than 768 px.