[TYPO3-calendar] flexible saveEventToPid?

Martin Keller martin at salsa.de
Fri May 27 17:25:46 CEST 2011


WOW - tx_cal_controller has 45 hook-classes with mostly two methods in 
each; that make around 90 hooks (in cal_controller alone!) This is what 
I call expandable!

yes, ['FE'] was missing. But there where so many examples without it...
Thank you.

Now we are in the coding of the functionality:
_GET var is in the function, now it must survive from createEventClass 
to confirmEventClass and saveEventClass where it is actally needed when 
the record is saved.

So I think I should extend the form with a
<input type="hidden" name="tx_cal_controller[refpid]" value="###REFPID###">

Next week, I will spend to find out how to replace the marker in my 
hook-method. Any suggestions so far (to save me a couple of days)?

By now, I don't see any template stuff in &$obj, so maybe I can create 
some artificial TS like:
$obj->getDateTimeObject->conf['rights.']['create.']['event.']['refpid']['dataWrap'] 
= $refpid;

Many thanx in advance,
Martin




More information about the TYPO3-project-calendar mailing list