Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

DB2 PHP Generator online Help

Prev Return to chapter overview Next

More customization options

Besides settings available in the Page Editor tool,  DB2 PHP Generator allows you to customize created webpages in the following ways:

 

Built-in color schemes

The simplest way to adjust the look and feel of the result application is to select one of color schemes the software comes with.

 

A sample webpage generated using different color schemes.

A sample webpage generated using different color schemes.

Custom color scheme

This allows you to provide the application with a specific look and feel defining your own style sheet (or changing an existing one).

 

A sample webpage generated with custom color scheme.

A sample webpage generated with custom color scheme.

 

Header and Footer

These are fragments of HTML code that will be included into all the generated pages. They can be customized within the appropriate window at the last step of the wizard.

 

A sample webpage with specified header.

A sample webpage with specified header.

Custom Style Sheets

It is also possible to define custom styles to be applied after all pre-defined CSS rules. This can be useful to define such things as size of controls, text alignments, background images, and more. More about user-defined styles.

 

Events

Events are pieces of code that are run when an action is taken by the user. Such events as OnBeforePageExecute, OnCustomRenderColumn, and OnCustomDrawRow can be used to change the webpage appearance. Please find some examples of using these and other events in our demo application and in the Resources section at the product home page. Open the User Javascript window to define functions to be called from event handlers and other client-side code for your website.

 

Custom templates

While all the previously described methods allow you to define colors, fonts, text alignments, and other display attributes of generated webpages, this one helps you to redesign the webpages entirely i.e. define what controls are displayed on a specific form, where they are displayed, and what they display. Live examples.

 



Prev Return to chapter overview Next