The config.php file is located in the directory /data. The fields listed below are only available if the appropriate settings have been made in ModMaker.
_conf [ cat ]
_conf [ topic ]
_conf [ data ]
_conf [ base ]
_conf [ types ]
If changes to these fields are made, the module will no longer work properly.
_conf [ catsperpage ]
When setting category tree can be defined here how many categories to be displayed in the administration per page.
_conf [ imgsize ]
When you upload images they will be in front of the store scaled and trimmed in various sizes. Subsequent change of values has no effect on already uploaded images.
optimage = images in option group (adjustable width and height)
catimage = category images (width and height adjustable)
box = image size in the lightbox
view = image size on the page
Other fields have the names of the awarded in ModMaker DB field name for images. In each case, the width and height of an image set for:
box = image size in the lightbox
view = image size in list view
full = image size on the page
bbcode image width adjustable
If enabled in the BBCode editor image URLs, they are scaled to this width.
_conf [ urlparams ]
As a URL parameter, there are settings for:
cat = ID of the category
order = ID path of the category tree
topic = ID of the topic
data = ID of the record
load = call up the input mask
The values for cat, order, topic, data and load can be changed arbitrarily. Each parameter requires a unique name. Default is _MODULE_NAME_cat, _MODULE_NAME_order, _MODULE_NAME_topic, _MODULE_NAME_data and _MODULE_NAME_load.
_conf [ userinputs ]
Here are all generated DB fields for visitor entries. Fields should not be available for visitors, can/should be removed. The fields must also be removed from the template.
_conf [ required ]
All mentioned DB fields are required for visitors submissions. Fields not mandatory to be able to be removed.
For the administration, there is no mandatory!