[TYPO3-calendar] hook to substitute custom marker

Mario Matzulla mario at matzullas.de
Tue May 31 13:58:21 CEST 2011


Hi Martin,

the according functionality is in: view/fe_editing_base -> 
getTemplateSingleMarker

An example ts could look like this:

###REFPID###

plugin.tx_cal_controller.view {
   create_event {
     refpid_stdWrap {
       wrap = <input type="hidden" name="tx_cal_controller[refpid]" 
value="12345" />
     }
   }
   confirm_event {
     refpid_stdWrap {
       dataWrap = <input type="hidden" name="tx_cal_controller[refpid]" 
value="{GP:tx_cal_controller|refpid}" />
     }
   }
}

#Don't forget to set the according rights:

plugin.tx_cal_controller.rights.create.event.fields.refpid.public = 1

Regards,
Mario

Am 31.05.11 11:59, schrieb Martin Keller:
> Mario, do you mean something like
>
> plugin.tx_cal_controller.view {
> create_event {
> refpid = TEXT
> refpid.value = 12345
> #later: refpid.data = {GP:refpid}
> }
> }
> ?
>
> Martin



More information about the TYPO3-project-calendar mailing list