by javier | Feb 24, 2022 | Magic Files
If you often work with 2 tables together, you might wish to display them side-by side instead, as shown below. <!doctype html public “-//W3C//DTD html 4.0 //en”> <html> <head> <meta http-equiv=”Content-Type”...
by javier | Nov 2, 2021 | Magic Files
AppGini 5.98 In hooks/tablename.php or hooks/__global.php, add this in the global scope (outside any function definitions): // Change tablename and fieldname to actual table and field names define(‘tablename.fieldname.MinYear’, 2010);...
by javier | Nov 19, 2020 | Advance Functions, Magic Files
Put the code in the hooks/TABLENAME-dv.js file $j('.clear-upload').text(' remove selected...
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, 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 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