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