[TYPO3-calendar] Experimental: Fluid in list view

Paolo Bragagni Paolo.bragagni at gmail.com
Tue Dec 30 16:22:21 CET 2014


I've modify event.html with

-----
<dt class="vevent">
	<div class="dtstart-container">
		<abbr
			title="<f:format.date format='Ymd\THi00'>@{event.start.time}</f:format.date>"
			class="dtstart"><f:format.date format='F d '>@{event.start.time}</f:format.date>
			<f:if condition="{event.allday} != 1">
				<f:format.date format='g:i a'>@{event.start.time}</f:format.date>
			</f:if></abbr>
	</div>
	<f:debug title="Debug of MyArray">{event.uid} {event.pid}</f:debug>

	<div class="summary">
	<f:link.page pageUid="216"
			additionalParams="{tx_cal_controller: '{view: \'event\',type: event.type, uid: event.uid, year: event.start.year, month: event.start.month, day: event.start.day  }'}">{event.title} {event.locationObject.city}</f:link.page>
			{event.description}
	</div>
</dt>
<div xmlns:v="http://typo3.org/ns/FluidTYPO3/Vhs/ViewHelpers"
	xmlns:f="http://typo3.org/ns/fluid/ViewHelpers">
	<ul>
	<f:for each="{v:content.resources.fal(table: 'tx_cal_event',field: 'image', uid: '{event.uid}')}" as="image">
					<li><a href="{image.url}" title="{f:if(condition: image.description, then: '{image.title}: ', else: '{image.title}')}{image.description}" ><f:image treatIdAsReference="TRUE" src="{image.id}" alt="{image.title}" title="{f:if(condition: image.description, then: '{image.title}: ', else: '{image.title}')}{image.description}" width="170c" height="170c" /></a></li>
					</f:for>
</ul>					
</div>
-----

and  seems that it works


More information about the TYPO3-project-calendar mailing list