by javier | Nov 13, 2020 | Look & Feel, Table Hook Modifications
You have a child tab under pne of your AppGini app forms. You want to display some note or instructions inside that tab. hooks/tablename-dv.js (where tablename is the name of the parent table, employees in this example) $j(function() { setInterval(function() {...
by javier | Nov 13, 2020 | Look & Feel, Table Hook Modifications
links-navmenu.php: You can add custom links to the navigation menu (“Jump to” menu) of your application by appending them to this file. The format for each link is: $navLinks[] = array( ‘url’ => ‘path/to/link’,...
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 | 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....
by javier | Nov 13, 2020 | Table Hook Modifications
This example logs the date and time a record was deleted and who deleted it. function tablename_after_delete($selectedID, $memberInfo, &$args){ // log file $logFile=’deletes.log’; // attempt to open the log file for appending...
Recent Comments