Actions
Bug #59928
closedformat.crop view helper doesn't work anymore
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.
Updated by Benni Mack almost 10 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
Updated by Riccardo De Contardi over 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.
Updated by Mathias Schreiber over 9 years ago
- Status changed from Needs Feedback to Closed
Actions