- ModMaker
- Define Fields
- Administration
- Data output
- Templates
- config.php

# Creating a module with the ModMaker

With the ModMaker allows you to create simple in-/output modules.

The ModMaker takes a programming work, but not the mental work. One should plan well and know what you want and need, and not any fields to the motto: "Could I maybe sometimes use" click together. Unnecessary fields are ultimately only in the way.

The generated module can not be updated by the ModMaker after downloading!

Are possible, for example, image galleries, news, FAQs, glossary, product catalogs, downloads or interactive modules such as guest books, blogs and forums or even simple mini administrations to issue in jQuery animations. For modes of operation such as the further processing (eg a shopping cart) or evaluation (eg surveys) data own functions must be written.

### A module is created in 4 steps:

Set the structure of your module
Generate and download the module
Designing templates
Upload your module to the server

## Creating a new module

The ModMaker is accessed from the Adminmenu => System => ModMaker. First, a name for the module must be assigned. This name is used as a module directory name, it should only be a short name can be used. For the name of the module in the headline of the Administration the name can be changed later in the language file.

### Write permissions

The file /data/_MODUL_NAME_.db and
the folders in the directory /media
must be writable. Please use FTP to CHMOD as specified by your provider set.

## Extend / change module

All files in the module directory created are self-sufficient and can be changed at will.

For the extension of a module, it is advisable to write your own functions in a new class to load it into the view.php and evaluate data sent there. It also helps to simply detailed queries alternatively implement the latest entries, or the above-mentioned processing as a cart or survey evaluation.

### Search function: can search the database module

In order to integrate a module database in the search function, the module must be entered in the file /settings/searching.php.
$modsearches[] = array('_MODULE_DIRECTORYNAME_', '_PAGE_OF_THE_MODULE_');