by javier | Nov 15, 2020 | Advance Functions, Footer Extras, Look & Feel
In footers-extras.php <script> var ref=window.location.href; if (ref.includes('index.php') == 0 && $j('.navbar-text').not('.navbar-right').length == 0) { localStorage.setItem('redirecturl', ref); } else { if ($j('.navbar-text').length != 0 &&...
by javier | Nov 15, 2020 | Advance Functions, Footer Extras, Look & Feel
In the footer-extras.php enter: <style> .table-responsive { overflow: auto; width: 100%; height: 66vh; } .table th { background:#eef; } </style> <script> $j('div.table-responsive').on('scroll', function() { $j('thead', this).css('transform',...
by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Magic Files
$j('.clear-upload').text(' remove selected...
by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Magic Files
In TABLENAME-dv.js file in the hooks directory // Set input to automatically convert to Uppercase. File hooks/tablename-dv.js $j('#FIELDNAME').keyup(function () { $j(this).val($j(this).val().toUpperCase());...
by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
Add to the “TABLENAME.php” file in the hooks directory in the tablename_header function case 'tableview': $header=$header="<%%HEADER%%><script>$j(function(){ $j('td.TABLENAME-FIELDNAME').each(function(){ switch ($j(this).text()) { case...
by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
In the tablename_init hook, add: $CSVFields = $options->QueryFieldsCSV; $colIndex = 0; $colNumber = 0; // loop through all fields foreach ($CSVFields as $field => $title) { // Update column header if (($options->ColNumber[$colIndex] – 1) == $colNumber)...
Recent Comments