[TYPO3-calendar] fe_cruser_id = 0

Mario Matzulla mario at matzullas.de
Mon Jan 16 17:27:16 CET 2012


Hi Stephan,

Am 16.01.12 10:41, schrieb Stephan Grass:
> I think it is a standard field. You can found it in ext_tables.sql.

You are right - must have overlooked it :(
>
> To insert the current FE-User in the field fe_cruser_is when create an
> event I edit /service/class.tx_cal_event_service.php
>
> In function saveExceptionEvent($pid) I inset the line
>
> // Creating DB records
> ...
> $insertFields['fe_cruser_id'] = $GLOBALS['TSFE']->fe_user->user['uid'];

I will add this line.

Thanks
Mario
>
> This will work for me...
>
> Stephan
>
>
> On 2012-01-13 20:09:18 +0100, Mario Matzulla said:
>
>> Hi Stephan,
>>
>> Am 13.01.12 13:22, schrieb Stephan Grass:
>>> Hi,
>>> when add an event in the frontend, the field fe_cruser_id will be 0. The
>>> fe_user ID will writen in the field cruser_id.
>>>
>>> I need the fe_user Id also in the fiel fe_cruser_id to select events
>>> from fe_users and backend-admins.
>>>
>>> What is to do, do set the field fe_cruser_id correctly?
>>
>> Is this a new standard field? Or a custom one?
>>
>> Regards,
>> Mario
>>>
>>>
>>> using cal 1.4.0.
>>>
>>> Thanks.
>
>



More information about the TYPO3-project-calendar mailing list