Hallo Liste,

ich würde gerne etwas in dieser Form in mein Fluid-Template einbinden:

<f:if condition=“{my.item.text}&&{maxCharacters>200}">
        <div class="timeline-body">
        <f:format.crop maxCharacters="200" append="class">
                <f:format.html>{my.item.text}</f:format.html>
        </f:format.crop>
        <button class="morelink"> weiterlesen</button>
        </div>
</f:if>
<f:if condition=“{my.item.text}&&{maxCharacters<200}">
        <div class="timeline-body">
                <f:format.html>{my.item.text}</f:format.html>
        </div>
</f:if>


Natürlich geht das so nicht - aber ich habe leider auch keine Idee, wie könnte 
ich die maxChars als Condition anlegen? 
Workaround mit Typoscript?

Vielen Dank für eure Hilfe,
Frank
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an