[TYPO3-calendar] Calendar Customizing Problem

Cornelius Goldbeck golcor at gmx.de
Sun Dec 18 22:21:49 CET 2011


Hi Everyone,

i am currently trying to customize an installation of calendar base on 
my first typo3 powered website. I managed to customize the templates for 
the month view but now I am stuck on a particular issue. You can have a 
look at the current state of the website over here:

http://kemkla.de/new/typo3/index.php?id=6

As you can see there is one single event stored in the calendar. What I 
would like to achieve is that the link to the event view which is right 
now wrapped around starttime and title of the event will be wrapped 
around the date of the day the event takes place.

  I already made my way through the manual and I figured that I'll 
probably need to modify this section in the event_model.tmpl:

> <!--###TEMPLATE_PHPICALENDAR_EVENT_MONTH### begin -->
> <div class="V9" id="cal_event_###UID###"><span class="###HEADERSTYLE###_bullet">&bull;</span><span class="###HEADERSTYLE###_text"><!-- ###EVENT_LINK### start -->###STARTTIME###: ###TITLE###<!-- ###EVENT_LINK### end --></span>###EDIT_LINK###</div>
> <!--###TEMPLATE_PHPICALENDAR_EVENT_MONTH### end -->

Is this the right way to go? Then how can I replace the ###STARTTIME###: 
###TITLE### bit so I get just the day in the selected month?

The relevant bit in the template i use for the month view should be:

> <!-- ###SWITCHMONTHDAY### start -->
> <td class="calender_field ">
> 	<div class="###STYLE###">
> 	###EVENT###
> 	</div>
> </td>
> <!-- ###SWITCHMONTHDAY### end -->

I am using Calendar Base 1.4.2 and a v4.6.1 Typo3 installation.

I'd be very grateful for any kind of advice!
Kind Regards,
Cornelius



More information about the TYPO3-project-calendar mailing list