[TYPO3-calendar] fe_cruser_id = 0

Stephan Grass itunes at stephan-grass.de
Mon Jan 16 10:41:12 CET 2012


I think it is a standard field. You can found it in ext_tables.sql.

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'];

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