Technical Documentation

ID Category Req. Element Action
348 string no $zz_conf['filter_position'] position of filter, top, bottom or both

Relations: OUTPUT

332 array no $zz['filter'][n]
567 mixed no $zz['filter'][n]['default_selection'] int or array; array might be useful in conjunction with SQL queries which result in nothing
892 integer no $zz['filter'][n]['depends_on'] Make a filter dependent on the selection of another filter (e. g. for categories and subcategories), using the other filters' where field = value if filter is selected to narrow the results of this filter
573 string: field no $zz['filter'][n]['field_name'] If set, filter value will be used as a default value for this field.
804 boolean no $zz['filter'][n]['hide_all_link'] true: hide -all- link at the end of this filter to show all records unfiltered
334 string no $zz['filter'][n]['identifier'] Identifier for filter, will be used in URL. If not set, will be created from 'title'.

Relations: $zz['filter'][n]['title']

893 boolean no $zz['filter'][n]['ignore_invalid_filters'] if true: invalid filter values will not trigger a 404 error and they will not show a message that the filter is invalid
979 string no $zz['filter'][n]['like'] allows to change LIKE "%...%" to something different
337 array no $zz['filter'][n]['selection'] Possible filters, always pairs of record_id and filter title; values starting with »!« will be compared against with !=, »\« escapes possible !-signs
968 string: SQL no $zz['filter'][n]['sql_join'] SQL JOIN to add for filter to $zz['sql']

Relations: $zz['sql']

785 string: SQL no $zz['filter'][n]['sql'] SQL query that should return two fields, set of record_id and title that will be used for `$zz['filter'][n]['selection']`

Relations: $zz['filter'][n]['selection']

333 string: HTML no $zz['filter'][n]['title']
335 string no $zz['filter'][n]['type'] * show_hierarchy * list * where (== list, with the only difference that you must not change the field with the where-value anymore, similar to a 'where' in the URL)
988 array no $zz['filter'][n]['where_if'] 'where_if' allows to set a WHERE query individually for each selection
336 string: SQL no $zz['filter'][n]['where'] If type == 'list', this is the required part for the WHERE condition without the equal sign. Might be, even without 'selection', an array for multiple WHERE-conditions connected with OR filter=NULL and filter=!NULL will be translated to the correct SQL query form
265 array: path no $zz['folder'][] array with root, string, field, mode for a folder that must be renamed/deleted after changing the record

Relations: ACTION

933 string: HTML no $zz['geo_map_html'] if set, zzbrick/forms module will include a javascript map (e. g. OpenLayers) to display the records via a KML export on this map; a map template and a JavaScript-library is required

Relations: $zz_conf['export']; brick_forms()

934 string no $zz['geo_map_template'] template for $zz['geo_map_html']

Relations: $zz_conf['export']; brick_forms(); $zz['geo_map_html']

974 boolean no $zz['list']['hide_columns_if_empty'] check all columns in list and hide columns if they are empty, behaviour is equivalent to 'hide_in_list_if_empty' on a per field basis

Relations: LIST; $zz['fields'][n]['hide_in_list_if_empty']

Export (CSV Excel)

348 records total

in