Ich hab schon rauf und runter gesucht, aber ich finde nichts, was mein Problem lösen könnte:
Ich habe "Calendar Base" (0.15.4) installiert und ein "minical" sowie ein "minicallist" entsprechend des Tutorials auf eine Seite installiert.
Das "minical" kommt auch und zeigt haufenweise Einträge an. "minicallist" ist aber leer. Im HTML code kommt nur der DIV, aber nichts drin. Ich dachte schon an ein Problem mit dem Template. Wenn ich das Template umbenenne bekomme ich eine korrekte Fehlermeldung, daß das Template nicht gefunden wird. Schreibe ich in das Template irgendwelche HTML codes hinein, würde ich doch vermuten, dass zumindest das ausgegeben wird - kommt aber nichts.
Das ganze befindet sich auf meiner Testseite: http://t3.astronomie.at/
lib.minical >
lib.minical < plugin.tx_cal_controller
lib.minical {
pages = 54
view {
defaultView = month
month.monthTemplate = fileadmin/templates/cal/minimonth.tmpl
calendar.defaultUid = 54
isStatic = 1
day.dayViewPid = 60
weekStartDay = Monday
allowedViews = month, day
}
}
lib.minicallist >
lib.minicallist < plugin.tx_cal_controller
lib.minicallist {
pages = 54
view {
defaultView = list
list.listTemplate = fileadmin/templates/cal/monthteaser.tmpl
calendar.defaultUid = 54
isStatic = 1
event.eventViewPid = 60
weekStartDay = Monday
day.dayViewPid = 60
allowedViews = list, month
list.starttime = now
list.endtime = +12 MONTH
}
showCategorySelection = 1
}
<!-- monthteaser.tmpl -->
<dl id="calteaser">
<!-- ###SHOWBOTTOMEVENTS### start -->
<!-- ###SHOWBOTTOMEVENTS_ODD### start -->
<dt class="odd">###DAYLINK###<span class="V9G">###START_TIME###</span></dt>
<dd class="odd">###EVENT_TEXT###</dd>
<!-- ###SHOWBOTTOMEVENTS_ODD### end -->
<!-- ###SHOWBOTTOMEVENTS_EVEN### start -->
<dt class="even">###DAYLINK###<span class="V9G">###START_TIME###</span></dt>
<dd class="even">###EVENT_TEXT###</dd>
<!-- ###SHOWBOTTOMEVENTS_EVEN### end -->
<!-- ###SHOWBOTTOMEVENTS### end -->
</dl>
Ergänzung:
Das Beispiel funktioniert schlicht nicht (mit meiner Version).
Ich habe nun das "list" Template kopiert und alles rausgelöscht, was nicht für die "minicallist" taugt. Dabei habe ich aber nur die Inhalte, nicht die Blocktags entfernt. Jetzt funktioniert das.
Jetzt sieht das Template so aus:
<!--monthteaser.tmpl-->
<!-- ###LIST_DAY_WRAPPER### begin -->
<dt><hr /></dt>
<dd> --- Event ---</dd>
<!-- ###LIST_DAY_WRAPPER### end -->
<!-- ###LIST_WEEK_WRAPPER### begin -->
<dt><hr /></dt>
<dd> --- Week ---</dd>
<!-- ###LIST_WEEK_WRAPPER### end -->
<!-- ###LIST_MONTH_WRAPPER### begin -->
<dt><hr /></dt>
<dd> --- Month ---</dd>
<!-- ###LIST_MONTH_WRAPPER### end -->
<!-- ###LIST_TEMPLATE### begin -->
<!-- ###PAGEBROWSER### begin -->
<!-- ###PAGEBROWSER### end -->
<!-- ###POST_LIST_TEMPLATE### begin -->
<!-- ###POST_LIST_TEMPLATE### end -->
<dl>
<!-- ###SHOWBOTTOMEVENTS### start -->
<!-- ###SHOWBOTTOMEVENTS_ODD### start -->
<dt>
###IMAGE###
<!-- ###EVENT_LINK### start-->###TITLE###<!-- ###EVENT_LINK### end--><br />
###STARTDATE### ###ENDDATE### <span class="V9G">###STARTTIME### ###ENDTIME###</span><br />
###TEASER###
</dt>
<dd>###DESCRIPTION###</dd>
<!-- ###SHOWBOTTOMEVENTS_ODD### end -->
<!-- ###SHOWBOTTOMEVENTS_EVEN### start -->
<dt class="even">
###IMAGE###
<!-- ###EVENT_LINK### start-->###TITLE###<!-- ###EVENT_LINK### end--><br />
###STARTDATE### ###ENDDATE### <span class="V9G">###STARTTIME### ###ENDTIME###</span><br />
###TEASER###
</dt>
<dd class="even">###DESCRIPTION###</dd>
<!-- ###SHOWBOTTOMEVENTS_EVEN### end -->
<!-- ###SHOWBOTTOMEVENTS### end -->
</dl>
<!-- ###PAGEBROWSER### begin -->
<!-- ###PAGEBROWSER### end -->
###CREATE_EVENT_LINK###
<!-- ###LIST_TEMPLATE### end -->
<!--/monthteaser.tmpl-->
So funktioniert das auch