Hướng dẫn php generator for mysql

    • About
    • News
    • Screenshots
    • Video tutorials
    • Changelog
    • Testimonials
    • Documentation
    • Resources
    • Samples
    • FAQ
    • Support
    • Upgrade policy
    • Feature matrix

Partners

Testimonials

Steven Langfield: "I wanted to drop you a mail to say how freaking AMAZING your software is. It will be the best £100 I have ever spent. I have still to read all your documentation to take full advantage but what you have created is truly amazing".

Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".

More

Add your opinion

Customers

PHP Generator for MySQL online Help


User-defined styles

The ability to use custom styles allows you to set up such parameters of web pages as size of controls, text alignment, and more. To define a custom style sheet that will be applied after all the pre-defined rules, click the "Edit user styles" button and enter the rules you need manually or load them from a file. Less syntax is allowed.

You can also define custom style sheets for export to PDF as well as for the print version of generated pages. These styles are saved to user_print.css and user_pdf.css files accordingly.

To determine a selector to apply the styles for, use any available inspect HTML tools such as default Firefox developer tools, Firebug, Chrome developer tools, Internet Explorer developer tools, and so on. Among other things these tools allows you to view the current element's attributes and applied styles and experiment with new ones.

Example 1

The code below is used in our online demo to display the winning team and the losing team scores according to the current theme. The 'win-score' and 'loss-score' classes are defined as follows:

.base-score {

  font-size: 1.4em;

  font-weight: bold;

}

.win-score {

  &:extend[.base-score];

  color: @brand-danger;

}

.loss-score {

  &:extend[.base-score];

}

The conditional formatting is specified in the OnExtendedCustomDrawRow event as follows:

if [$rowData['home_team_score'] > $rowData['away_team_score']] {

     $cellClasses['home_team_score'] = 'win-score';

     $cellClasses['away_team_score'] = 'loss-score';

}

else {

     $cellClasses['home_team_score'] = 'loss-score';

     $cellClasses['away_team_score'] = 'win-score';

}

The screenshot below displays the Game list page in the Cyborg theme:

The next one shows the same page in the Facebook theme:

Example 2

To limit maximum width of Date and DateTime pickers in all Edit and Insert forms by 300 pixels, use the following rule:

div.pgui-date-time-edit {

   max-width: 300px;

}

Company news

Aug 23, 2022

New version introduces toggles, one- and two-dimensional barcodes, enhanced lookups sort order, changing page data sources, PHP 8.1 support, editor hints, and other useful things.

Feb 12, 2021

A new version comes with PHP 8.0 support, inline View forms, updated CheckBox Group editor, on-the-fly adding of new items to multi choice controls and other useful improvements.

Sep 10, 2020

A new minor version features the possibility to customize headers and footers of 'Registration', 'Resend verification' and 'Password recovery' pages, revised OnAddEnvironmentVariables event, default values is Cascading Combobox editors and more.

Resources

The article shows how to implement an AJAX-based one-click editor for a logical column.

This article begins a series of step-by-step tutorials on how we made the NBA demo. It explains how to add new items to the menu, implement run-time theme selection, and tweak the login form.

The article illustrates how to use various chart libraries with PHP Generator.

Feature of the day

PHP Generator supports master-detail presentations used to display a list of detail records related to a selected record on the page.

PHP Generator allows you to set the fragments of PHP code to be executed before or after a record was added, edited, deleted, etc.

Chủ Đề