Call my own print procedure in detail view

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
gerardus
Posts: 20
Joined: 2013-11-11 08:29

Call my own print procedure in detail view

Post by gerardus » 2022-02-14 17:55

Hi all,
I'm using AppGini version 22.11.
Is there a way to call my own php program when the user clicks "Print Preview" in the Detail View. (Or add another Print button)
I need to generate a special PDF .
Thanks,
Gerard.

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

Re: Call my own print procedure in detail view

Post by pbottcher » 2022-02-14 19:51

Hi,

you can check in the hooks/tablenname.php -> _init function for the dvprint_x parameter in the $_POST array. If set to 1 redirect to your specific page.
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.

Post Reply