Project

General

Profile

Actions

Bug #59928

closed

format.crop view helper doesn't work anymore

Added by Chris Müller almost 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2014-06-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

We updated our website from TYPO3 6.1.5 to TYPO3 6.1.9. Now the crop view helper doesn't work anymore.

Our fluid snippet:
<f:format.crop maxCharacters="200"><p class="resultlist-item-teaser">{study.short_description}</p></f:format.crop>

In TYPO3 6.1.5 the text is correctly cropped, in 6.1.9 the whole text is visible without cropping.

Actions #1

Updated by Benni Mack over 9 years ago

  • Status changed from New to Needs Feedback

Please try again, works for me on latest master. Also, I would recommend putting the HTML tags outside of the crop view helper.

Let me know if the problem still exists on your 6.2 installation, otherwise I will close this issue

Actions #2

Updated by Riccardo De Contardi about 9 years ago

I tested with TYPO3 6.2.11 with a code like:

<f:format.crop maxCharacters="20"><p class="resultlist-item-teaser"><f:translate key="page.label.mylabel" /></p></f:format.crop>

And it works.

Actions #3

Updated by Mathias Schreiber about 9 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF