[TYPO3-calendar] Mini month view: links to previous and next month

Claudio Strizzolo claudio.strizzolo at ts.infn.it
Thu Nov 8 15:01:04 CET 2012


Thank you both very much!

Claudio

On 11/08/2012 02:55 PM, Hartmut Steglich wrote:
> Hello,
>
> this does work. But take care to:
> - insert the MONTH_TITLE / DISPLAY_DATE between the links
> - delete MONTH_TITLE from the month table in newSmallMonth.tmpl
> if you use view.month.newSmallMonthTemplate
>
> Otherwise "« November 2012 »" are not on the same line.
>
> ###PREV_MONTHLINK### inside the ###MONTH_SMALL|+0###-Template does not
> work.
>
> Regards,
> Hartmut
>
>
> Am 08.11.12 11:57 schrieb Chris Müller:
>> Hi Claudio,
>>
>> I'm doing it via Typoscript:
>>
>> plugin.tx_cal_controller.view.month {
>> monthMiniTemplate (
>> ###MONTH_SMALL|+0###
>> <!-- ###PREV_MONTHLINK### start-->
>> <!-- ###PREV_MONTHLINKTEXT### start-->
>> previous month
>> <!-- ###PREV_MONTHLINKTEXT### end-->
>> <!-- ###PREV_MONTHLINK### end-->
>> <!-- ###NEXT_MONTHLINK### start-->
>> <!-- ###NEXT_MONTHLINKTEXT### start-->
>> next month
>> <!-- ###NEXT_MONTHLINKTEXT### end-->
>> <!-- ###NEXT_MONTHLINK### end-->
>> )
>>
>> prevMonthLink.typolink.ATagParams.override = rel="nofollow"
>> nextMonthLink.typolink.ATagParams.override = rel="nofollow"
>> }
>>
>> The ###MONTH_SMALL|+0### outputs the current month and after that you
>> can add some subparts. Of course you can add it also before the
>> ###MONTH_SMALL|+0### marker.
>>
>> Regards,
>> Chris.
>>
>>
>> Am 08.11.2012 09:45, schrieb Claudio Strizzolo:
>>> Hi all,
>>> does anybody know if there is a way to add two links (arrows-like) to
>>> the previous and next month in the mini month view, such as this is
>>> available in the normal large month view?
>>> I mean something like:
>>>
>>> « November 2012 »
>>> --- ---
>>> link to prev link to next
>>> month month
>>>
>>> Thanks in advance
>>>
>>> Claudio
>>
>



More information about the TYPO3-project-calendar mailing list