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)...
by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
In file: hooks/TABLENAME-dv.js // file: hooks/TABLENAME-dv.js$j(“#FIELDNAME”).attr(“minlength”, 3).attr(“required”,...
by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
Place the code in the hooks folder into the file called TABLENAME-dv.js $j(function() {if ($j(‘input[name=”SelectedID”]’).val()==””) { $j(‘#Link’).hide()...
by javier | Nov 14, 2020 | Advance Functions, Look & Feel, Table Hook Modifications
In the hooks/tablename-tv.js file the following: $j(function(){ $j('#EnterAction').hide();...
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...
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"});...
Recent Comments