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

Chris Müller mueller at cyperfection.de
Thu Nov 8 11:57:14 CET 2012


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