Page 1 of 1

Notification Icon in nav-menu

Posted: 2018-04-09 08:18
by pbottcher
Hi,
I'm running AppGini 5.7
I try to get an notification icon into the nav-bar. Currently I managed to have this enabled, but I need to modify the incCommon.php file and add a nav-bar item. As this file gets automatically recreated when I create my project, I would like to ask if anyone has an idea on how I could add the Icon through a hook, so that I do not need to modify the incCommon.php each time again.

Any ideas?
sampel.JPG
sampel.JPG (14.52 KiB) Viewed 2345 times
Thanks
Pascal

Re: Notification Icon in nav-menu

Posted: 2018-04-16 12:51
by R Tammam
Hello pböttcher,
yes , you can add it through hooks , in hooks\footer-extras.php you should use js code to insert it

Re: Notification Icon in nav-menu

Posted: 2018-04-16 15:40
by pbottcher
Hi Tammam,
thanks for the reply. But I struggle a little bit with this reply. How would I add a nav-bar item through the footer-extras.php?

regards
Pascal

Re: Notification Icon in nav-menu

Posted: 2018-04-19 13:57
by pbottcher
Thanks Tammam,
I found it.

regards
Pascal