by javier | Nov 15, 2020 | Advance Functions, Table Hook Modifications
Send out an email notification to all group members after a record has been added or updated. The email title comes from a field from a table. When notification is receive, if user clic on the title, it redirect user to the added record after user login. in the...
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"});...
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
In the hooks/tablename-dv.js $j(function(){ $j('#fieldname').change(function(){ $j('#insert').click(); });...
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:...
Recent Comments