Appgini Developer
  • Home Page
  • Hook Files
  • Magic Files
  • Footer Extras
  • Advance Functions
Select Page

Send Email To multiple recipient’s

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...

How to create a progress bar inside a column

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"});...

Not allow spaces in username

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...

Avoiding to click ‘Save as copy’

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(); });...

Convert “Go To” page dropdown to text

by javier | Nov 13, 2020 | Table Hook Modifications

hooks/footer-extras.php <script> $j(function() { // get id of dropdown ({tablename}_pagesMenu) var id = location.href.match(/.*/(.*)_view.php/)[1] + ‘_pagesMenu’; if(!$j(‘#’ + id).length) return; var page = parseInt($j(‘#’ +...

Calculate expiration date automatically

by javier | Nov 13, 2020 | Advance Functions, Table Hook Modifications

Calculated expiry date field (given production date and validity period) Purpose of this recipe You have a table for handling items that expire (for example, medications, groceries, raw materials that expire, support contracts, … etc). You want to specify the...
« Older Entries
Next Entries »

Recent Posts

  • Working with filters programmatically
  • Open the Message application in a new Window
  • Print with only some fields
  • Applying a default filter on a table
  •  Log the date and time a record was deleted and who deleted it

Recent Comments

    • Facebook
    • Twitter
    • Google
    • Instagram
    • RSS