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...
by javier | Nov 16, 2020 | Advance Functions, Header Extras, Look & Feel
Add the following line to your CSS-file* and reload the page: <style> #children-tabs > ul > li > a > img { width: 16px; }...
by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Magic Files, Table Hook Modifications
In the hooks/<tablename>-dv.js: Assuming your selection is “empty, yes, no” otherwise you need to adjust the below code accordingly.Replace YOURSELECTNAME by your selection. $j(function () { var onSelectOpen=function(){ $j(".select2-drop-active...
Recent Comments