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

View data subset of of a table rather than all the records

by javier | Nov 16, 2020 | Advance Functions, Look & Feel, Table Hook Modifications

For example, in the orders table, we might want users to view the orders as of 1/1/2009 only. To do so, we’d write the PHP code for filtering the orders table by date as follows. In hooks/tablename.php” /* filter 1 code*/ /* let's assume the date field is...

How to get rid of the title & link on the detail view

by javier | Nov 16, 2020 | Advance Functions, Look & Feel, Magic Files

Create a file in your /hooks files: YOURTABLENAME-dv.js $j(function() { $j("form > .page-header").hide() }); You can use .remove() instead of .hide(). If you want to keep the [Add new]-button, try the following code: $j(function() { $j("form >...

View more than 10 records in a Child Table

by javier | Nov 16, 2020 | Advance Functions, Look & Feel

In the generated parent-children.php file. Find and edit the line that reads: 'records-per-page' => 10, This line appears several times, one for each table. Change the number to your needs. Warning! This file is re-generated when you re-generate your Appgini...

Smaller images on tab headers

by javier | Nov 16, 2020 | Advance Functions, Header Extras, Look & Feel

Add the following line to your CSS-file* and reload the page: <style> #children-tabs > ul > li > a > img { width: 16px; }...

Drop Down List different colors

by javier | Nov 15, 2020 | Advance Functions, Look & Feel, Magic Files, Table Hook Modifications

In the hooks/<tablename>-dv.js: Assuming your selection is “empty, yes, no” otherwise you need to adjust the below code accordingly.Replace YOURSELECTNAME by your selection. $j(function () { var onSelectOpen=function(){ $j(".select2-drop-active...
« 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