Hi,
I just stumbled about the problem, that I actually want to include something into the <head>...</head> section of the output html that is delivered to the browser.
I notice, that this is not possible using the header-extras.php as this file is appended at the end of the header.php file.
Is there a simple way to do this with hooks/my own code without touching regenerated files?
Olaf
how to write something in <head> ?
how to write something in <head> ?
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
- landinialejandro
- AppGini Super Hero
- Posts: 126
- Joined: 2016-03-06 00:59
- Location: Argentina
- Contact:
Re: how to write something in <head> ?
Hi olaf i think you can do a function in global php to check if you code is Inside header.php inside head. if not there injected again an refresh de page.
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
Re: how to write something in <head> ?
Hi landinialejandro,
to look into __gobal.php is a good idea.
Thank you.
Olaf
to look into __gobal.php is a good idea.
Thank you.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: how to write something in <head> ?
Hi,
__global.php is afaik loaded for the login page only, but not once the user has logged in. So this approach does not seem to work.
Olaf
__global.php is afaik loaded for the login page only, but not once the user has logged in. So this approach does not seem to work.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
- landinialejandro
- AppGini Super Hero
- Posts: 126
- Joined: 2016-03-06 00:59
- Location: Argentina
- Contact:
Re: how to write something in <head> ?
hello! __global.php is loaded every time lib.php is called, and this happens every time a page is reloaded. You should not use the functions that are already included there, create your own and run it right there.
I use this place to verify that my template is as it should be after the user has made a change in his project. To be more specific I check the header.html and if it is not as it should I modify it.
you can see here:
https://github.com/landinialejandro/myn ... global.php
in line 3 would be my functions.
I hope it is useful to you
Greetings!
I use this place to verify that my template is as it should be after the user has made a change in his project. To be more specific I check the header.html and if it is not as it should I modify it.
you can see here:
https://github.com/landinialejandro/myn ... global.php
in line 3 would be my functions.
I hope it is useful to you
Greetings!
Alejandro.
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
AppGini 5.98 - Linux OpenSuse Tumblewweed.
Some of my posts that may interest you:
Landini Admin Template: Template for Appgini like AdminLTE
Profile image plugin: add and changue image user profile
Field editor in table view: Configurable fast edit fields in TV
my personal page
Re: how to write something in <head> ?
Hi,
that's great news - I did not know __global.php is loaded every time. Thanks for the hint.
Also thanks for the link.
Olaf
that's great news - I did not know __global.php is loaded every time. Thanks for the hint.
Also thanks for the link.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view