Hi Guys,
I'm using Appgini since one year and I found it amazingly simple and effective to use even if I'm not a programmer.
For my application I wold like to have a different favicon on each detail view page of my tables.
I was thinking to use the default icons contained into resources/table_icons/ for consistency with the icons used on my homepage...
I guess I should place something like echo "<link rel='shortcut icon' href='resources/table_icons/backpack.png' type='image/png'/>"; in the corresponding hook tablename_dv....
I tried this:
function tablename_dv($selectedID, $memberInfo, &$html, &$args){
echo "<link rel='shortcut icon' href='resources/table_icons/backpack.png' type='image/png'/>";
}
but no results...
someone may help me?
thanks a lot!
Bruno
different favicon on each page AppGini 5.41
Re: different favicon on each page AppGini 5.41
Try this (I didn't test it but I guess it would probably work):
Code: Select all
function tablename_dv($selectedID, $memberInfo, &$html, &$args){
$html .= "<link rel='shortcut icon' href='resources/table_icons/backpack.png' type='image/png'/>";
}

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.