[TYPO3-calendar] calendar links are not working

Hans-Wendel Thul hwthul at hotmail.com
Thu Nov 17 12:08:13 CET 2011


Am 15.11.2011 10:43, schrieb Hans-Wendel Thul:
> Am 14.11.2011 14:07, schrieb Mario Matzulla:
>> Hi Hans,
>>
>> Am 14.11.11 13:30, schrieb Hans-Wendel Thul:
>>> Am 13.11.2011 20:37, schrieb Mario Matzulla:
>>>> Hi Hans,
>>>>
>>>> Am 07.11.11 08:48, schrieb Hans-Wendel Thul:
>>>>> Hello folks,
>>>>>
>>>>> we have problems with the calendar extension at our typo3 site.
>>>>>
>>>>> If we click on the link "next month" in the month view (showing
>>>>> november
>>>>> 2011), the page is rendered in a new browser tab (which is not
>>>>> intended)
>>>>> showing the same old data (month november instead of december).
>>>>>
>>>>> The link looks like this:
>>>>>
>>>>> https://xxx.xxxxxx.xxx/index.php?id=1112&tx_cal_controller[year]=2011&tx_cal_controller[month]=12&cHash=254c3e11629002ff24fb4ad5552acafd
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Same happens with all the other next and prev links (in day view
>>>>> e.g.).
>>>>>
>>>>> No realURL, no simulate static urls installed. Caching framework in
>>>>> typo3 is active.
>>>>>
>>>>> None of the logs (apache, php, developerlog) shows warnings or errors
>>>>> concerning the calendar extension.
>>>>>
>>>>> We stuck in the middle of nowhere. Any help is appreciated.
>>>>
>>>> What I can Think of, is that the TS configuration of the links got
>>>> somehow messed up. Please verify the rendering on another page and
>>>> clear
>>>> all other TS.
>>>>
>>>> Regards,
>>>> Mario
>>>>
>>>>
>>>>>
>>>>> Calendar extension is version 1.4.1
>>>>> Typo3 version is 4.5.0 running on Apache/2.2.17 (Win32) DAV/2
>>>>> mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1
>>>>> PHP version is 5.3.5
>>>>> Web server OS is Windows 2008 R2
>>>>>
>>>>> Hans Thul
>>>>
>>> Hi Mario,
>>>
>>> thanks for your answer.
>>>
>>> What I forgot to tell is the fact that we use a frameset on our Typo3
>>> site.
>>>
>>> The links of all other elder extensions work fine except links from
>>> newer ones like your calendar ext and e.g. the mm_forum.
>>>
>>> In the meantime I figured out that the problem is a missing parameter
>>> within the created links so that they would look like this:
>>>
>>> https://xxx.xxxxxx.xxx/index.php?id=1112&type=3&tx_cal_controller[year]=2011&tx_cal_controller[month]=12&cHash=254c3e11629002ff24fb4ad5552acafd
>>>
>>>
>>>
>>>
>>> The imported part here is "&type=3".
>>>
>>> Can you please help me to find the right place to add this parameter. In
>>> tx_cal_controller.view I found a defaultLinkSetup object. Can I use this
>>> object? If yes, will you please help me with it? I am not really
>>> familiar with typoscript :sad.
>>
>> Please try:
>>
>> plugin.tx_cal_controller {
>> view.day.event.eventLink.typolink.additionalParams.wrap = |&type=3
>> view.week.event.eventLink.typolink.additionalParams.wrap = |&type=3
>> view.month.event.eventLink.typolink.additionalParams.wrap = |&type=3
>> view.year.event.eventLink.typolink.additionalParams.wrap = |&type=3
>> }
>>
>> Regards,
>> Mario
>>>
>>> Best regards,
>>>
>>> Hans
>>>
>>
> Hi Mario,
>
> tried what you told me (cleared all caches before), but this had no
> influence to the created links. The additional param has not been included.
>
> You mentioned before to install the extension on a new page clearing all
> other TS. I will do so, not only with a new page, but also with a new
> root page above this page. I hope this gets me further down the line.
>
> Regards,
> Hans
Hello again Mario,

I found the solution for my problem with the next / previous month links.

To have it work properly we have to include the following TS statement:

	content.config.forceTypeValue=3

That is all what's needed.

Many thanks to you for this excelent (core) extension.

Regards
Hans


More information about the TYPO3-project-calendar mailing list