Page 1 of 1

AppginiHelper with Calendar Plugin

Posted: 2022-10-13 13:11
by AhmedBR
Hi jsetzer,

It is working perfectly with all pages:
atendimento.jpg
atendimento.jpg (5.82 KiB) Viewed 3063 times
Except when I open a calendar page, nothing appears.
Anything I can do to make appear in calendar pages as well?

Thanks

Re: AppginiHelper with Calendar Plugin

Posted: 2022-10-13 13:20
by jsetzer
Sorry, I don't know if the calendar pages, you are referring to, also include header-extras.php. if your calendar pages are normal custom pages, it should work. I'm using custom pages a lot.

You should check if header-extras loads.

Re: AppginiHelper with Calendar Plugin

Posted: 2022-10-13 13:37
by AhmedBR
Thanks for the quick reply.

It is a page generated by Appgini Calendar-Plugin without any changes from my side.

Header is there and loaded (since I have all the menus), which I assume loads header-extras.php automatically

Code: Select all

	define('PREPEND_PATH', '../');
	define('FULLCAL_PATH', PREPEND_PATH . 'resources/fullcalendar/');
	
	include(__DIR__ . "/../lib.php");
	include_once(__DIR__ . "/../header.php");

Re: AppginiHelper with Calendar Plugin

Posted: 2022-10-13 13:54
by jsetzer
I cannot verify nor falsify because I am not using that plugin. Can you see (red) errors in console?

Can you please check if header-extras.php really gets loaded for example by var_dump($_SERVER); exit;

Re: AppginiHelper with Calendar Plugin

Posted: 2022-10-13 14:32
by AhmedBR
I found the problem.

There is a reference some where in the generated calendar files, adding "hooks" to the path, causing AppGiniHelplerIndicators.min.js not to load. (file not found error).

I will regenerate the calendar files, if problem persist, I will go trough the files to find the reference problem.

Thanks and have a nice day