[TYPO3-calendar] problem with required fields

Mario Matzulla mario at matzullas.de
Sat Aug 6 15:00:04 CEST 2011


Hi Josef,

Am 05.08.11 23:58, schrieb Josef Oberniedermaier:
> Hi Mario,
>
> thanks.
> Sorry, I've made a little mistake. The startdate (not the starttime)
> should be set/shown as required.
>
> The *-symbol for the required field is missing in case 1.
> In case 2 the *-symbol is shown
>
> The links are quite different:
> - case 1: create event link inside the calendar-table:
> .../index.php?id=xyz&no_cache=1&tx_cal_controller[startdate]=20110806&tx_cal_controller[lastview]=view-month|page_id-167&tx_cal_controller[view]=create_event
>
> - case 2: create event link outside the table:
> .../index.php?id=xyz&no_cache=1&tx_cal_controller[gettime]=0700&tx_cal_controller[getdate]=20110805&tx_cal_controller[lastview]=view-month|page_id-167&tx_cal_controller[view]=create_event
>
> The time in case 2 is set to 0700 correctly, in case 1 it is set to 0000.
>
> What's the problem?

The links are from differnt places, rigtht? And I'm not sure, what 
exactly "outside the table" is?? I guess that "inside the 
calendar-table" means a day of the month view. And yes, than we don't 
provide a time. BUT you can easily configure a default time for those cases:
rights.create.event.fields.starttime.default = now
or
rights.create.event.fields.starttime.default = 0700

Does that explain it?

Regards,
Mario
>
> Regards
>
> Josef
>
>
> "Mario Matzulla" schrieb im Newsbeitrag
> news:mailman.1.1312401822.12580.typo3-project-calendar at lists.typo3.org...
>
> Hi Josef,
>
> Am 26.07.11 23:34, schrieb Josef Oberniedermaier:
>> Hello
>>
>> after updating cal 1.3.3 to cal 1.4.1
>> i have a problem with fe-editing:
>>
>> when i click on the create-event-icon in the table, the starttime ist
>> set not required (although it should be).
>> when i click on the same icon at the bottom outside the table, the
>> starttime is set required correctly.
>> when editing the event it is also set required.
>>
>> Some ideas?
>
> Well, have a look at the links you are clicking at. If they contain a
> parameter tx_cal_controller[starttime] the value will be set (it might
> be set to 0000 -> 00:00 too!)
>
> Regards,
> Mario
>>
>> Kind regards
>>
>> Josef
>>
>>
>>
>>
>



More information about the TYPO3-project-calendar mailing list