by javier | Nov 14, 2020 | Advance Functions, Footer Extras, Look & Feel
Adds include the following,- Change all text from upper to lower case and vice versa (Table View Only)- Add a continuous image border- Change page background color- Change your navbar background color- Add a vertical stack navigation icon w/fixed scroll (you can...
by javier | Nov 13, 2020 | Advance Functions, Footer Extras
First, you should place this code in the hooks/footer-extras.php file: <script> $j(function(){ AppGini.numericOnly = function(fieldname){ setInterval(function(){ var field = $j('#' + fieldname), val = field.val(); if(val == parseFloat(val)) return; val =...
by javier | Nov 13, 2020 | Advance Functions, Look & Feel
Add the following code to the generated hooks/footer-extras.php file: <script> $j(function() { setInterval(function() { $j('.children-tabs tfoot td').each(function() { var txt = $j(this).text().trim(); // The line below assumes your app is in English language .....
by javier | Nov 13, 2020 | Advance Functions
If you create a file in hooks with the special name of {tablename}.{fieldname}.csv (where {tablename} is the name of the concerned table, and {fieldname} is the name of the multiple-choice field, for example products.tags.csv), your AppGini app would use the contents...
by javier | Nov 13, 2020 | Advance Functions
In tablename-dv.js: $j(function() { $j('h1').addClass('col-sm-8'); $j('h1').after('<h1 class="col-sm-4"> <form id="form_search" action="table6_view.php" method="post"> <div class="input-group"...
by javier | Nov 13, 2020 | Advance Functions
Place the following html in your custom/customized page and replace YOURTABLENAME (first line) by your table name: <form enctype="multipart/form-data" method="post" name="mySearchForm" action="YOURTABLENAME _view.php">...
by javier | Nov 13, 2020 | Advance Functions
The attached file will count access from a user (by IP), and, if the file is being accessed to much (defined in the script), the user (IP) will be banned for a certain time (defined in the script) from accessing some page. The user will then see a countdown which...
by javier | Nov 13, 2020 | Advance Functions
STEP 1/3: Remove the table link from the homepage The first step would be to remove the link to the orders table from the homepage if the current user belongs to the CustomerSupport group. We’ll add the code for removing the link in hooks/footer-extras.php:...
by javier | Nov 13, 2020 | Advance Functions
You have a table storing some kind of business task that has a start date and an end date. You want to calculate the duration of this task as working days, that is, excluding weekends. This can be achieved using calculated fields. We’ll create a duration field...
by javier | Nov 13, 2020 | Advance Functions, Look & Feel
You have a lookup field in a table. And when adding a new record to the table, you want that field to be set to the first value by default (rather than being empty). Files to edit Add the following code to hooks/tablename-dv.js (where tablename is the name of the...
Recent Comments