[TYPO3-calendar] Need eventLink as eventUrl in list view

Stig Nørgaard Færch snf at dkm.dk
Mon Jan 30 09:36:22 CET 2012


>>> function getAdditionalValuesAsArray() {
>>> $values = parent::getAdditionalValuesAsArray();
>>> $values['event_owner'] = $this->getEventOwner();
>>> $values['cruser_id'] = $this->getCreateUserId();
>>> if($this->conf['view.']['enableAjax']){
>>> $template = '';
>>> $sims = Array();
>>> $rems = Array();
>>> $wrapped = Array();
>>> $this->getEventUrlMarker($template, $sims, $rems, $wrapped, 'event');
>>> $values['event_link'] = $wrapped['###EVENT_URL###'];
>>> }
>>> return $values;
>>> }
>>
>> Those values are additinally available in the TS.
>
> you mean event_owner, cruser_id and event_link?

If I do a debugData = 1 on my custom marker, I get an array with these 
keys (event_owner has no value and event_link doesn't exist):
calendar_uid
calendar_owner
calendar_headerstyle
calendar_bodystyle
uid
pid
tstamp
crdate
cruser_id
deleted
hidden
starttime
endtime
start_date
end_date
start_time
end_time
allday
timezone
title
calendar_id
category_id
organizer
organizer_id
organizer_pid
organizer_link
location
location_id
location_pid
location_link
teaser
description
freq
until
cnt
byday
bymonthday
bymonth
intrval
rdate
rdate_type
deviation
monitor_cnt
exception_cnt
fe_cruser_id
fe_crgroup_id
shared_user_cnt
type
page
ext_url
isTemp
icsUid
image
imagecaption
imagealttext
imagetitletext
attachment
attachmentcaption
ref_event_id
send_invitation
attendee
status
priority
completed
t3ver_oid
t3ver_id
t3ver_wsid
t3ver_label
t3ver_state
t3ver_stage
t3ver_count
t3ver_tstamp
t3_origuid
sys_language_uid
l18n_parent
l18n_diffsource
no_auto_pb
dam_attachment
dam_image
category_uid
event_owner
headerstyle
bodystyle
createuserid
attendees
sendoutinvitation
sequence
creationdate
locationlinkurl
locationpage
calnumber
calendaruid
calname
overlap
url
valarmdescription
byweekday
byweekno
byminute
byhour
bysecond
byyearday
bysetpos
wkst
interval
summary
class
displayend
content
count
rdatevalues
rdatetype
spansday
categories
exceptionevents
editable
organizerid
organizerlinkurl
organizerpage
locationid
exceptionsingleids
exceptiongroupids
eventtype
sharedusers
sharedgroups
eventowner
deviationdates
objecttype
isallowedtoedit
isallowedtodelete
model_type
category_headerstyle
category_bodystyle
start
end
category_string
currentValue_kidjls9dksoje




More information about the TYPO3-project-calendar mailing list