[TYPO3-calendar] ###MODULE__LOCATIONLOADER###

Khodjasteh, Inge I.Khodjasteh at alexianer.de
Fri Oct 10 08:15:15 CEST 2014


Thank's a lot -  It work's now!

Mit freundlichen Grüßen

Inge Khodjasteh
Webdesign

              
DaKS GmbH            
Alexianerweg 9              
48163 Münster              
Tel. +49 2501 966 50438 

I.Khodjasteh at alexianer.de / www.alexianer.de


DaKS GmbH
Geschäftsführer: Andreas Barthold, Gerald Oestreich, Barbara Pollok / Sitz der Gesellschaft: Münster
Handelsregister Münster, HRB 4624

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen.Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtümlich erhalten haben,informieren Sie bitte sofort den 
Absender und vernichten Sie diese E-Mail. Dasunerlaubte Kopieren 
sowie die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
-----Ursprüngliche Nachricht-----
Von: typo3-project-calendar-bounces at lists.typo3.org [mailto:typo3-project-calendar-bounces at lists.typo3.org] Im Auftrag von Mario Matzulla
Gesendet: Donnerstag, 9. Oktober 2014 20:54
An: typo3-project-calendar at lists.typo3.org
Betreff: Re: [TYPO3-calendar] ###MODULE__LOCATIONLOADER###

Hi Inge,

if cal recognizes a marker ###MODULE__XX### it searches for a module service with name XX. If there is such a service, cal hands over an instance of the current model or view depending where the marker is found (if you are in the event.tmpl, this would be the event view; inside the event_model.tmpl, this would be the event itself) by calling the start() function.
Please have a look at the misc folder, where you can find our examples for location- and organizerloader services.

Remember, that you have the proper TS configuration for the location fields inside the event view:

view.{view}.{object}.{field}

Example:
view.event.location.street =

The easiest way would be:
plugin.tx_cal_controller.view.event.location < plugin.tx_cal_controller.view.location.location



As for the templates, they got a little bit mixed up. But as you can see inside the locationloader class: check the TS for module.locationloader.template =

Regards,
Mario

Am 09.10.14 um 08:14 schrieb Khodjasteh, Inge:
> Hello!
> 
> I've got a problem with the display of additional information in the single event view.
> 
> I've entered the marker ###MODULE__LOCATIONLOADER###  in the 
> event_model.tmpl and into the phpicalender_event.tmpl
> 
> plugin.tx_cal_controller.view.event.eventModelTemplate = 
> fileadmin/admin/ext/cal/event_model.tmpl
> plugin.tx_cal_controller.module.locationloader.template = 
> fileadmin/admin/ext/cal/module_locationloader.tmpl
> 
> There a two module_locationloader.tmpl - in the directory standard_template and in the template directory (data_loop.). Which one is the right one?
> 
> 
> I can't find a description how to get it working!?
> 
> I would be happy for any help!!!
> 
> Mit freundlichen Grüßen
> 
> Inge Khodjasteh
> Webdesign
> 
>               
> DaKS GmbH            
> Alexianerweg 9              
> 48163 Münster              
> Tel. +49 2501 966 50438
> 
> I.Khodjasteh at alexianer.de / www.alexianer.de
> 
> 
> DaKS GmbH
> Geschäftsführer: Andreas Barthold, Gerald Oestreich, Barbara Pollok / 
> Sitz der Gesellschaft: Münster Handelsregister Münster, HRB 4624
> 
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
> Informationen.Wenn Sie nicht der richtige Adressat sind oder diese 
> E-Mail irrtümlich erhalten haben,informieren Sie bitte sofort den 
> Absender und vernichten Sie diese E-Mail. Dasunerlaubte Kopieren sowie 
> die unbefugte Weitergabe dieser E-Mail sind nicht gestattet.
> 

_______________________________________________
TYPO3-project-calendar mailing list
TYPO3-project-calendar at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-calendar


More information about the TYPO3-project-calendar mailing list