Back
templateNew
Templates
templateNew
Template of phpLens when creating new records
Default:
The Smarty template file must be placed in the templates subdirectory of the Web page.

The following template variables are available:

{$_FORMBEGIN_} -- equivalent of the <FORM> tag
{$_FORMEND_} -- equivalent of the </FORM> tag
{$_EDIT_} -- "e" dynamic edit icon
{$_SUBMIT_} -- submit button
{$_CANCEL_} -- Cancel button
{$ERRORMESSAGES} -- where to display error messages (see also templateShowErrors).
All column values are available, and the data input fields also as variables. Assume that we have a column called NAME (all column names must be in upper case), then we have the following:

{NAME} -- value of column NAME
{NAME_T} -- title of column NAME
{NAME_INPUT} -- input field for NAME

View source of the forums at http://phplens.com/ for examples of template files.

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 1.0]