Project

General

Profile

Actions

Bug #49051

closed

CSS Styled Content receives double stdWrap

Added by Francois Suter over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
Start date:
2013-06-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Since TYPO3 CMS 6.0, USER objects have a stdWrap property. css_styled_content already supported stdWrap and applied it in each of its "render" methods. This results now in stdWrap being applied twice.

The solution is to simply remove the call to stdWrap inside css_styled_content.

Actions #1

Updated by Francois Suter over 11 years ago

How to test. Add something like this to your template:

tt_content.image.20.stdWrap.wrap = <div style="padding: 4px; border: 1px solid red">|</div>

and observe that all image-type content elements get a double border, instead of a single one.

Actions #2

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21358

Actions #3

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21358

Actions #4

Updated by Francois Suter over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21362

Actions #6

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21364

Actions #7

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21364

Actions #8

Updated by Francois Suter over 11 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF