Discussion:
[TYPO3-english] Output Text on Field Change
Sascha Urbansky
2018-01-17 13:07:31 UTC
Permalink
Hi there,

i have got a small problem.

I have an extension with a date field.

There is a list with events for a full year and I want to group them by month.

To do that I want to output a headline which contains the Month and on each change of a month in a date field a new headline should be printed.

How can I manage that?

Is there an easy way?

The Actual Code looks like this:

<f:link.action action="show" arguments="{operation:operation}" pageUid="{settings.operationSinglePid}">
<table>
<tr>
<td width="70px">[{operation.number}]</td>
<td width="170px"> <f:if condition="{operation.begin}">
{operation.begin -> f:format.date(format:'d.m.Y, H:i \U\h\r')}
</f:if></td>
<td width="260px">Stichwort:


<f:for each="{operation.type}" as="stichwort">
{stichwort.title}
</f:for>





</td>
<td width="300px"> <f:if condition="{operation.location}">
<span>{operation.location}</span>
</f:if>
</td>
</tr>
</table>
</f:link.action>

Regards and thank you

Sascha Urbansky
Christian Hackl
2018-01-17 19:35:32 UTC
Permalink
javascript?
and or ajax?
if you have a html template for your headline than you can use html5 template tag and javascript.

but i dont understand your question... :/

Loading...