[TYPO3-calendar] Use of a cal service
Chris Müller
mueller at cyperfection.de
Fri Oct 26 14:33:54 CEST 2012
Hello!
Now I got a step further, the correct invocation of the service is:
$service = t3lib_div::makeInstanceService('cal_event_model', 'event');
But then I got the error:
PHP Fatal error: Call to a member function isLoggedIn() on a non-object
in [...]/typo3conf/ext/cal/service/class.tx_cal_nearbyevent_service.php
on line 46
This is from the rights controller, which is NULL at this stage.
Then I did it with
$service = &tx_cal_functions::getEventService();
which had the same result. Do I have to initialize something before
using the cal services?
Regards,
Chris.
More information about the TYPO3-project-calendar
mailing list