Show number of records in table in Home page

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
udayvatturi
AppGini Super Hero
AppGini Super Hero
Posts: 85
Joined: 2014-06-14 03:08
Location: India
Contact:

Show number of records in table in Home page

Post by udayvatturi » 2014-11-01 13:03

Hi
I small a small tweek to the home page to show number of records in the table.

Screenshot .
Capture.PNG
number of records in table in Home page
Capture.PNG (146.3 KiB) Viewed 4851 times
I am attaching the file home.php (zipped) Just replace with your existing code.
home.zip
(1.54 KiB) Downloaded 528 times

emad.mohamed
Posts: 4
Joined: 2014-10-13 08:21

Re: Show number of records in table in Home page

Post by emad.mohamed » 2014-11-01 21:30

Good job

the only comment is that the number of records must suit the privileges of users. Each user must see only the number of records that he is allowed to see.

Regards
Emad

udayvatturi
AppGini Super Hero
AppGini Super Hero
Posts: 85
Joined: 2014-06-14 03:08
Location: India
Contact:

Re: Show number of records in table in Home page

Post by udayvatturi » 2014-11-02 04:31

Hi Emad,
You are right. I missed that point.

Post Reply