[TYPO3-seminars] cal with cal_ts_service - link to event-view only correct for seminars with timeslots

Kerstin Finke kerstinfinke at hotmail.com
Thu May 20 13:31:09 CEST 2010


Kerstin Finke schrieb:
> Hi list,
> 
> I posted some days ago, now I took one step forward - but still could 
> not solve it.
> 
> I had this TypoScript in my ext-template in the constants:
> #Cal_ts_service-Extension Einzelansicht-ID
> plugin.tx_cal_controller.display.seminars {
>       externalPlugin = 1
>       externalPlugin.singleViewPid = 797
>       externalPlugin.additionalParams =  tx_seminars_pi1[showUid]=###UID###
> }
> 
> Now I tried to put in the typoscript of my content-element plugin "TYPO3 
> Calendar" (though I still think they should have the same effect in the 
> constants).
> 
> Now I have the following effect:
> 
> The links for events with only one date look like this:
> /797.0.html?&tx_cal_controller[view]=event&tx_cal_controller[type]=tx_cal_ts_service&tx_cal_controller[uid]=141&tx_cal_controller[ts_table]=seminars2&tx_cal_controller[lastview]=view-month|page_id-870&tx_cal_controller[year]=2010&tx_cal_controller[month]=05&tx_cal_controller[day]=18&cHash=11bc1d32838a0d1cde65e49d88b9bfcf 
> 
> 
> For the events with time slots the link goes to the seminars-view (as I 
> wanted it) and even show the correct event when I change the 
> database-field like this:
> 
> #Cal_ts_service-Extension Einzelansicht-ID
> plugin.tx_cal_controller.display.seminars {
>       externalPlugin = 1
>       externalPlugin.singleViewPid = 797
>       externalPlugin.additionalParams = 
> tx_seminars_pi1[showUid]=###seminar###
> }
> 
> The link looks like this:
> /797.0.html?&tx_seminars_pi1[showUid]=151&cHash=e13d08b11182fc7525e02ac430de1367 
> 
> 
> I have no idea, what I could do to convince my calendar to link to the 
> seminars-view for events without timeslots!
> 
> I would be very thankful for any hint!
> 
> Greetings
> Kerstin

Sorry, I forgot one thing that could be important:
All events with timeslots are shown double on the starting day:
once with the wrong link 
(/797.0.html?&tx_cal_controller[view]=event&tx_...)at the start day of 
the event,
and once with the correct link:
(/797.0.html?&tx_seminars_pi1[showUid]...)
(and with the correct link at each day with a timeslot).


More information about the TYPO3-project-seminars mailing list