Back

Templates
templateGrid
Smarty template for one row of phpLens grid The Smarty template file must be placed in the templates subdirectory of the Web page. The following template variables are available: {$_EDIT_} -- The edit record icon {$_DELETE_} -- The delete record icon {$_RECNO_} -- The record number (this is not the primary key) {$_PRIMARY_} -- urlencoded primary key The field values and the field titles are available also. If a field "name" is defined, then: {$NAME} -- field value {$NAME_T} -- field title See also templateFilterGrid. Template Format The template can either be a html table or a set of td cells. If a table is defined, then phpLens will set the enclosing cell containing the table to fit the colspan. So if the template fits 4 columns, then the enclosing cell will be set to colspan=4. If it is a set of td cells, then the number of cells must match the number of columns defined in the grid. Basic:No Advanced/Enterprise:Yes DynamicEdit:No [Version 1.0]