|
All changes user has done on the previous steps are immediately
reflected in the Visual
Editor page. According to these changes the number of
elements on the page may differ. Let's consider the possible types
of the elements:
-
Header. The special
element on which place the custom code may be inserted (the header
of your pages). By default there is no header. To add/edit header
double-click the header
element or select Header
from the Tables list panel
at Visual Editor page.
Also you can edit header by editing header.php file stored in
Include folder.
-
Master table info. The
special element on which place information about the master table
may be inserted. For that user should set the corresponding
master-detail settings on the
Datasource Tables
page.
-
PHP code snippet. The
special element on which place custom PHP code may be inserted. For
more information, see Adding
PHP code snippet topic.
-
Pagination. The special
element that provides for the numbering of pages. It gives users
the ability to step through a large number of database rows in
manageable chunks instead of the whole lot in one go.
-
Footer. The special
element on which place the custom code may be inserted (the footer
of your pages). By default there is no footer. To add/edit footer
double-click the footer
element or select Footer
from the Tables list panel
at Visual Editor page.
Also you can edit footer by editing footer.php file stored in
Include folder.
-
Fields. Each field
selected on the Choose
Fields page will be presented on the page by corresponding
element and user is able to control its appearance with the help of
"View as" or "Edit as" settings.
-
Message. The special
element on which place a message may be inserted. It is allowed to
add a message only to some pages where users may need to get some
notification, e.g. notify a user about unsuccesful login.
To insert the message, go to the Events page, select an event with
&message parameter in
the function definition (e.g. Login page: Before login event, Add
page: Before record added event etc.) and add the following
code:
$message="Type your message here!";
|
Note: The message will be displayed on the
web page in place of "message" element.
Sometimes users need to go back to previous steps to make new
changes after they have changed the initial view of the page. In
this case after repeating return to the Visual Editor page an alert window
will appear with the suggestion to reset the page.

|