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
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, 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, 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 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 14, 2020 | Advance Functions, Look & Feel
If you wish to hide the seconds part, you could do so by editing the tablename_dv hook. Open the generated hooks/tablename_dv.php file in a text editor (where tablename is the name of the concerned table) and look for the dv function, then add this line inside it:...
by javier | Nov 14, 2020 | Advance Functions, Table Hook Modifications
In the hooks/tablename-dv.js $j(function(){ $j('#fieldname').change(function(){ $j('#insert').click(); });...
by javier | Nov 14, 2020 | Advance Functions, Table Hook Modifications
In your hooks/<tablename>-dv.js file(replace the <tablename> with your actual tablename) // Set input to reject space. File hooks/tablename-dv.js $j('#<fieldname>').keyup(function () { $j(this).val($j(this).val().replace(/s/g, '')); }); (don’t...
by javier | Nov 14, 2020 | Advance Functions, Table Hook Modifications
Use this code inside your tablename-tv.js $j(function () { const max = 300; $j("td.tablename-fieldname").each(function () { var obj = $j(this); obj.css({position:"relative"});...
by javier | Nov 14, 2020 | Advance Functions, Table Hook Modifications
On the /hooks tablename.php file: function myone_sped_after_update($data, $memberInfo, &$args) { $receipt=array('user@hotmail.com','user2@hotmail.com'); // compose message foreach($data as $field => $value) { $messageData .= "$field: $value n"; } // I...
Recent Comments