by javier | Nov 13, 2020 | 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 | Magic Files
In AppGini, you can define a field as an options list so that your application users can select the value of the field from a set of options. For example, the Country field in the screenshot to the left is an options list. An easier method that doesn’t involve...
by javier | Nov 13, 2020 | Magic Files
You can create some files with specific names inside the hooks folder that your AppGini-generated application would use to perform a specific task. These files are optional, meaning that if they exist, your application will automatically use them to alter a default...
by javier | Nov 13, 2020 | Table Hook Modifications
For debugging purposes, you can inspect the contents of the DataList object by adding the following code into the tablename_init hook function in the generated hooks/tablename.php file (replace tablename by the actual name of the concerned table): function...
by javier | Nov 13, 2020 | Table Hook Modifications
The following example modifies the SQL query used to limit records retrieved to 10 records only if the user requesting the CSV file is not an admin. function tablename_csv($query, $memberInfo, $args){ // return only the first 10 records for non-admin users....
Recent Comments