by javier | Nov 16, 2020 | Advance Functions, Look & Feel
Create a new file in your favorite text editor, and insert the following code to it: <!doctype html public "-//W3C//DTD html 4.0 //en"> <html> <head> <meta http-equiv="Content-Type" content="text/html;...
by javier | Nov 16, 2020 | Advance Functions, Header Extras, Look & Feel, Magic Files
Hide button in all table views Place the following code in hooks/header-extras.php: <!-- hooks/header-extras.php --> <script> $j(function() { $j('button.tv-toggle').hide(); }); </script> Hide button in one table view Create or open the file...
by javier | Nov 16, 2020 | Advance Functions, Look & Feel
Create a search form using a filters...
by javier | Nov 16, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
For example, in the orders table, we might want users to view the orders as of 1/1/2009 only. To do so, we’d write the PHP code for filtering the orders table by date as follows. In hooks/tablename.php” /* filter 1 code*/ /* let's assume the date field is...
by javier | Nov 16, 2020 | Advance Functions, Look & Feel, Magic Files
Create a file in your /hooks files: YOURTABLENAME-dv.js $j(function() { $j("form > .page-header").hide() }); You can use .remove() instead of .hide(). If you want to keep the [Add new]-button, try the following code: $j(function() { $j("form >...
by javier | Nov 16, 2020 | Advance Functions, Look & Feel
In the generated parent-children.php file. Find and edit the line that reads: 'records-per-page' => 10, This line appears several times, one for each table. Change the number to your needs. Warning! This file is re-generated when you re-generate your Appgini...
Recent Comments