Cookie consent banner

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
User avatar
Marcelo Vitoria
Veteran Member
Posts: 102
Joined: 2016-10-11 12:08

Cookie consent banner

Post by Marcelo Vitoria » 2025-08-04 19:21

A prospective client asked me about having a cookie consent banner in AppGini applications.

For those of you developing apps outside of Brazil, there are numerous cookie banner generator options, many of which are free. I was able to generate mine in Javascript because Brazilian options are very expensive, and data protection laws are much stricter than international ones.

On my website, I placed it within the <head> tag in the Index, but in the AG, I have questions and would like to know which file would be ideal for making the JS call that will generate the cookie banner without causing any problems in the application.

Thank you and good luck!
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.18 - AdminLTE - SPM
https://www.workspaceservices.com.br/eng

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Cookie consent banner

Post by a.gneady » 2025-08-05 13:18

You should probably place the script for generating the cookie consent banner in hooks/footer-extras.php between normal <script> ... </script> tags.
:idea: AppGini plugins to add more power to your apps:

User avatar
Marcelo Vitoria
Veteran Member
Posts: 102
Joined: 2016-10-11 12:08

Re: Cookie consent banner

Post by Marcelo Vitoria » 2025-08-05 21:38

a.gneady wrote:
2025-08-05 13:18
You should probably place the script for generating the cookie consent banner in hooks/footer-extras.php between normal <script> ... </script> tags.
OK, thanks
Marcelo Vitoria
Coding since 1982 ! :geek:
Basic Sinclar - Clipper - Visual Foxpro - VB6 - PHP
AppGini 24.18 - AdminLTE - SPM
https://www.workspaceservices.com.br/eng

Post Reply