by javier | Nov 13, 2020 | Table Hook Modifications
In this example, let’s assume that our table contains the fields: unit_price, quantity and total. We want to automatically calculate the value of the total field by multiplying quantity and unit_price. Open the tablename.php on your hooks folder. function...
by javier | Nov 13, 2020 | Table Hook Modifications
The following example checks that the logged user belongs to the admin group and accordingly allows CSV downloading of records. If the user is not a member of the admin group, CSV downloads are disabled. On the hooks folder look for the tablename.php function...
by javier | Nov 13, 2020 | Table Hook Modifications
This example sends a welcome email to new users who were automatically approved, and a ‘please wait’ email for new users pending approval. This hook function is called when a new member signs up. If you open the generated hooks/__global.php file in a text...
by javier | Nov 13, 2020 | Look & Feel, Table Hook Modifications
links-home.php: You can add custom links in the home page of your application by appending them to this file. The format for each link is: $homeLinks[] = array( ‘url’ => ‘path/to/link’, ‘title’ => ‘Link...
by javier | Nov 13, 2020 | Look & Feel, Table Hook Modifications
Integrate the page appearance into your AppGini application After controlling access to your custom page, the next step is to customize its appearance so that it matches the rest of the application pages. This can be very easily achieved by including the header and...
Recent Comments