To start manipulations with the field constructor, go to " Pages -> Field constructor ".
The Field Builder is designed to make things easier for developers and is used to expand the options in articles and article categories. Having created a group of additional fields and additional fields, you can immediately start binding them in the template without interfering with the database.
Additional fields tab
1. Creation of an additional field (and in the tab number 3 in this place there will be an opportunity to create a group for the fields)
2. Tab with additional fields
3. Tab with groups to which additional fields belong
4. Editing an additional field
5. Name for use and output in the template
6. Field type (only available when creating: text, textarea, checkbox, select, radiogroup, checkgroup)
7. Groups to which the fields belong
8. Deleting a field
Field groups tab
1. Create a field group to which additional fields will belong
2. Go to editing
3. Brief description of the group (only visible in the admin panel)
4. The number of fields that are linked to the group
5. Removal
Creation and editing are different. When editing, it is not possible to change some fields, but you can configure more precise field settings.
1. The name of the field that will be used when embedded in the template by the developer
2. Description (visible only in the admin panel)
3. Field type (what actions can be performed with the field, text, textarea, checkbox, select, radiogroup, checkgroup)
4. Groups of fields to which the add. field (these groups can be attached to categories or articles to use additional fields and binding in the template by the developer)
1. The name of the field that will be visible to the administrator or manager in the admin panel
2. The value that will immediately be substituted into the field when the page is created (not to be confused with the display of the value in the default field. The field must be saved in the article. In old articles, the field will not be pulled up automatically, they will need to be saved again. The field was created to simplify monotonous filling work)
3. Tooltip for the field (visible only in the admin panel)
4. An indicator that the field is required (does not affect the saving of the article in the general tab, only an informational indicator)
5. Allows you to upload or use images on the site through the file manager
6. Allows you to download or use any files through the file manager
7. Validators from
8. Groups of fields to which the field belongs (additional fields are attached to groups, and groups are attached to an article or categories)
Field groups are created by combining several additional fields into a group. Groups are linked to articles and categories.
1. Name (displayed only in the admin panel)
2. Brief description of the group (displayed only in the admin panel)
Deletion is made from the list of fields or groups. When deleting a group - add. fields remain, but cease to participate in the article.
Without binding by the developer, in the template add. fields will not be displayed. Customizing the binding of additional fields is carried out through groups. Groups are specified when editing article categories. Once selected, save the changes.
1. Binding a group of additional fields to the category itself
2. Binding a group of additional fields in the article
Filling in existing additional fields is done when editing an article or category in the "Additional fields" tab
The output in the template is carried out in the files used by categories and articles (page_full.tpl, category.tpl or your own template files).
Example :
<img src="{$item.field_list_image}" alt="{$item.title}">
$item - array or object of the article or category
field_list_image - additional field name from "Additional fields tab -> item 5"