[TYPO3-calendar] FE Unable to Create Events
Mario Matzulla
mario at matzullas.de
Wed Sep 30 20:28:37 CEST 2015
Hi Hanspeter,
Am 30.09.15 um 17:18 schrieb Hanspeter Lutz:
> Hi everybody
>
> Since weeks I try to set up the frontend editting. I use cal 1.10.0. Does anybody out there has managed to set FE up and running?
>
> My problem:
>
> When I try to create an event (with the newest templates being used) the confirm view is always coming up again.
Are you sure?
>
> When debugging the code, I see that the TS variable "tx_cal_controller.view.dontShowConfirmView" must be set to 1. Without this variable
> been set, the method "saveEvent()" will never be called.
> When I set the above mentioned variable, the call to saveEvent() is executed, but it crashes in the ModelController::saveEvent(), because
> the parameter "type" (which comes from $conf['type'] is empty and the service cannot be found. I didn't find out where this type should come
> from.
>
> My questions:
> 1) Why am I forced to set tx_cal_controller.view.dontShowConfirmView=1? I want the confirm view.
> 2) Where does the $conf['type'] come from?
You need to make sure you have a marker ###TYPE### like this
<input type="hidden" value="###TYPE###" name="tx_cal_controller[type]" />
in the create_event.tmpl and confirm_event.tmpl
Regards,
Mario
>
> Any help would be greatly apreciated.
>
> Kind regards
> Hanspeter
More information about the TYPO3-project-calendar
mailing list