Send Automatic Email To New Members

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...

Allow or deny CSV Download in your table

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...

Calculate Total Price on a record

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...