Clicking on a magnifier icon in Wörter/Medien coloumn beside our featurestyle we're getting the list of feature's fields which basically represents the fields in database's table.
We are adding new feature field by clicking Neuer Eintrag link.
Name - name of the field
Beschreibung - description of the field
Hilfetext - text which is going to be displayed like info
Field type - Type of the field (checkbox, color, date, datetime, file, float, hidden, int, image, link, password, radio, select, text, textarea, text_fck, uint, urlname)
Maximallänge - Maximum length of field type
Pflichtfeld - Field is required or not
Abfrage - SQL query if it's needed
examples:
- static values for radio buttons or checkboxes. This example will output 4 options (select 1, select 2, select 3, select 4) and values for those options (n1, n2, n3, n4):
- dynamic values for radio buttons or checkboxes.This example will output all values and IDs of features named ='option' from the feature style with the ID xxx:
- static values for radio buttons or checkboxes. Comma separated values:
- dynamic values for radio buttons or checkboxes with a PHP function. Where to put the script????
Sortiernummer - display position
Spezial 1 - special features for some fields
- 'date' and 'datetime': 'now' displays curent date (time)
- 'link': 'external' for external links
- 'text': width of textfield in px
- 'textare': commaseparated width and height values of textarea in px
- 'text_fck': editor's width and height (commaseparated values)
- 'file': save path realtiv to Feature Media Directory. Example: 'news/pdf/'.
-
'images': save path realtiv to Feature Media Directory. Example: 'images/new/'.
Spezial 2 - special features for some fields
- 'text_fck': editor toolbar display option - 'Basic', 'Default' or 'Custom'.
- 'image': Thumbnailgenerator - 'generatethumb:' output format ('jpg' or 'png'), mods ('limit', 'fixed', 'cropleft', 'cropright', 'croptop', 'cropbottom', 'cropcenter'), width and height commaseparated values. Example: 'generatethumb:jpg,limit,200,150'.
- It is possible to generate more thumbnails with ';' separator
By clicking on a magnifier icon in Features coloumn beside our featurestyle we're getting the list of features of our featurestyle.
Clicking on the link Neuer Eintrag and filling out the fields we are making a new field