Project

General

Profile

Actions

Bug #29029

closed

Some TCEforms elements are displaced

Added by Francois Suter over 12 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend User Interface
Target version:
Start date:
2011-08-17
Due date:
% Done:

100%

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

Description

The solution for bug #28030 had a very unfortunate side-effect: elements of TCEforms like the required icon or the drop-down from the suggest wizard are displaced.

This is because the "display: block" property of selector "table.typo3-TCEforms td.formField-field" was removed. In turn this means that element positioned relative to this field become then positioned relative to whatever other element it considers its parent, sometimes even the top of the form.

The solution is to reintroduce that block property and use a width attribute to solve the problem of the localization information.


Files

required_icon_before.png (39 KB) required_icon_before.png Francois Suter, 2011-08-17 10:57

Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #21723: "find record" search filed for web site users and groupsClosed2009-11-27

Actions
Related to TYPO3 Core - Bug #30276: TCEforms suggest displaced in IE8 and IE9Closed2011-09-25

Actions
Related to TYPO3 Core - Bug #30768: Flexform field separators get lost since version 4.5.6Closed2011-10-11

Actions
Has duplicate TYPO3 Core - Bug #29080: Suggest autocomplete position differs on IEClosed2011-08-18

Actions
Actions #1

Updated by Xavier Perseguers over 12 years ago

Thanks for taking care of this one. I'll test it as soon as you provide a patch.

Actions #2

Updated by Francois Suter over 12 years ago

Just a note: the difference in the behavior between localized elements like tt_content and tt_news is that tt_content now uses palettes all over. In this case a specific span tag is added in TCEforms which constrains the translation information to the right size. I'm now looking at solving this issue by adding a similar span for fields that are not inside a palette.

I just need to find the right place in TCEforms :-/

Actions #3

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389

Actions #4

Updated by Francois Suter over 12 years ago

How to test: just create a new BE user and observe how the "required" icon is displaced in the username field.

To check that the proposed patch indeed solves #28030 too, open the translation of a record from a table that doesn't use palettes, for example tt_news.

Actions #5

Updated by Mr. Hudson over 12 years ago

Patch set 2 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389

Actions #6

Updated by Mr. Hudson over 12 years ago

Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4390

Actions #8

Updated by Francois Suter over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF