Page 1 of 1

Remove NavbarIcon on Plugin created Pages

Posted: 2020-04-20 16:12
by hgarbe
Hi all,

I'm not sure my issue might be somehow related to this topic: viewtopic.php?f=13&t=3358
It sounds familar except the fact that I try to simply remove the Icon using the header-extras.php
Does work on all pages but those created with the Summary Report Plugin. They still have the icon and the includes in the code seem to be the same as in the other pages.
This can't be caused by a not absolute path to an icon I guess?

BR Heiko

Re: Remove NavbarIcon on Plugin created Pages

Posted: 2020-12-18 14:27
by jsetzer
@Heiko: Is this still open?

Re: Remove NavbarIcon on Plugin created Pages

Posted: 2021-01-01 06:13
by hgarbe
Hi Jan,

first of all: Happy New Year! Well found workaround is more accurate I guess.
I tried <script src="<?=PREPEND_PATH?>hooks/AppGiniHelper.min.js"></script> in the header-extras.php. But didn't solved the problem.
The workaround is removing the line with the Glyphicon in the incCommon.php. On the other hand i found out the prepend Path works when I want to display a custom logo on custom pages or plugin created pages. Fixing the Navbar on such pages is the only thing i did not find a workaround for ...

Re: Remove NavbarIcon on Plugin created Pages

Posted: 2021-01-01 06:38
by jsetzer
Good morning and APPy new year!

Do summary report pages load header-extras.php at all?

Re: Remove NavbarIcon on Plugin created Pages

Posted: 2021-01-10 01:05
by hgarbe
Sorry for the late response. I did some testing and yes seems to be loaded either by calendar and Summary Plugin.
To start from a clean ground I used the latest available version of the northwind demo, Appgini Helper and Summary Report. Only modified the headers-extras.php then.
Fun Fact: now the App Icon is perfectly unset on all pages! So maybe the inital problem solved itself over the time.
But as visible on the attached screenshots the fixNavbar ain't working.