Bug #29029
closed
Some TCEforms elements are displaced
Added by Francois Suter over 13 years ago.
Updated about 7 years ago.
Category:
Backend User Interface
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
Thanks for taking care of this one. I'll test it as soon as you provide a patch.
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 :-/
Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389
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.
Patch set 2 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4389
Patch set 1 of change If13c130423c4839b89c7f03e015feffd8ae3bd94 has been pushed to the review server.
It is available at http://review.typo3.org/4390
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF