[TYPO3-calendar] Minical in cal 1.4

Pierre Nya pierre.nya at resolto.com
Thu Apr 28 11:48:23 CEST 2011


It works for me. here is my TS:
lib.field_cal < plugin.tx_cal_controller
lib.field_cal {
      pidList = 51
      view {
         allowedViews = month
         month.monthTemplate = fileadmin/templates/cal/monthminiview.tmpl
         day.dayViewPid = 46
         weekStartDay = Monday
      }
}

and the file monthminiview.tmpl looks like:
<div class="view-header">
    <div class="previous-button">
    <!-- ###PREV_MONTHLINK### start-->
        <!-- ###PREV_MONTHLINKTEXT### start-->
      <img src="fileadmin/templates/new_design/img/doppelpfeil-links.png" 
alt="[Previous Month]" />
        <!-- ###PREV_MONTHLINKTEXT### end-->
    <!-- ###PREV_MONTHLINK### end-->
    </div>
    <div class="next-button">
    <!-- ###NEXT_MONTHLINK### start-->
        <!-- ###NEXT_MONTHLINKTEXT### start-->
        <img src="fileadmin/templates/new_design/img/doppelpfeil-rechts.png" 
alt="[Next Month]" />
        <!-- ###NEXT_MONTHLINKTEXT### end-->
    <!-- ###NEXT_MONTHLINK### end-->
    </div>
    <h1>###DISPLAY_DATE### ###ADMIN_LINK###</h1>
</div>
<div class="div-month-small">
    ###MONTH_SMALL|+0###
</div>

i had to change it a little bit for my own purpose.

"Chris Müller" <mueller at cyperfection.de> schrieb im Newsbeitrag 
news:mailman.1.1302606683.9455.typo3-project-calendar at lists.typo3.org...
> Hi,
>
> I'm using the new cal 1.4 from SVN and try to make the small month view 
> (minical) work.
>
> In cal 1.3 it was possible to navigate between the months forward and 
> back. Now it seems that it isn't anymore possible. It is intended to get 
> this in the final release?
>
> Also the month name isn't visible. There is a marker in template 
> "newSmallMonth.tmpl" with the name "###MONTH_TITLE###", but it seems that 
> it isn't filled with the month name. That seems to me like a bug.
>
> Regards,
> Chris. 



More information about the TYPO3-project-calendar mailing list