Pop-up window

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
dgasparin
Veteran Member
Posts: 31
Joined: 2020-03-26 13:03

Pop-up window

Post by dgasparin » 2020-04-13 08:25

Hello everyone, I need your help about a need.
In my AppGini application teher is an operator that manages events/alarms.
These events/alarms are wrote inside the database from an external application.
I need to make a pop-up window when an even/alarm is received.
Could you help me please?
Thank you very much indeed
Davide

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1638
Joined: 2018-04-01 10:12

Re: Pop-up window

Post by pbottcher » 2020-04-13 08:53

Hi,

just set a

setTimeout(function, 60000);

where function is a AJAX call to your database to check if there is a new event/alarm and run the pop-up.

You can set this in the header-extras.php and check if the current user is the operator, so it will apply only for that user.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

dgasparin
Veteran Member
Posts: 31
Joined: 2020-03-26 13:03

Re: Pop-up window

Post by dgasparin » 2020-04-13 09:15

Thank you so much Pascal,
I will try immediately
Thank you

Post Reply