[TYPO3-calendar] Event as popup
Mario Matzulla
mario at matzullas.de
Wed Sep 14 20:33:00 CEST 2011
Hi Willem,
sorry, I haven't had any time so far, but your issue is more a css, than
a cal issue:
modify the event_model.tmpl and insert a div, with a style class and
containing the markers you want to show, as popup inside the event
subpart of the desired view:
<!--###TEMPLATE_PHPICALENDAR_EVENT_MONTH### begin -->
<div class="vevent" id="cal_event_###UID###">
<!-- ###EVENT_LINK### start -->
<span class="###HEADERSTYLE###_text">
<span title="###MICROFORMAT_START###"
class="dtstart">###STARTTIME###</span>
<span class="summary">###TITLE###</span>
###FREQ###
</span>
###EDIT_LINK###
<!-- ###EVENT_LINK### end -->
<div class="myHiddenInformation">
###DESCRIPTION###
</div>
</div>
<!--###TEMPLATE_PHPICALENDAR_EVENT_MONTH### end -->
Than add the according css:
.tx-cal-controller div.event .myHiddenInformation {
display:hidden;
}
.tx-cal-controller div.event:hover .myHiddenInformation {
border: 1px solid #CCCCCC;
color: #000000;
display: inline;
left: -9px;
margin-top: -1px;
padding: 4px 8px;
position: absolute;
text-align: left;
width: 240px;
}
That should do the trick ;)
Regards,
Mario
Am 14.09.11 09:31, schrieb W. van den Akker:
> Nobody using a popup/tooltip for an event?
>
> On Thu, 2011-09-08 at 12:56 +0200, W. van den Akker wrote:
>
>> Hi,
>>
>> I have a minimonth calendar in my sidebar.
>> When I hover over a date I want to see the event in a
>> tooltip, is that possible?
>> I couldnt find any solution, but then againt I am just
>> using the extension.
>>
>> gr,
>> Willem
>>
>
>
>
More information about the TYPO3-project-calendar
mailing list