different favicon on each page AppGini 5.41
Posted: 2015-07-02 18:42
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
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