Bug #49904

TCEFORM.tt_content.imageorient.removeItems = --div-- also removes imageorient "0 = Above, center"

Added by Fabian Thommen about 4 years ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Should have
Category:
Backend API
Target version:
Start date:
2013-07-11
Due date:
% Done:

0%

TYPO3 Version:
6.0
PHP Version:
5.2
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

If you want to remove the

__no wrap:__ 
 (see screenshot) over user config with:

<pre>
TCEFORM.tt_content.imageorient.removeItems = --div--
</pre> 

Position "0 = Above, center" is also removed. This bug allready exists in typo 4.5 !

nowrap.jpg View (33.3 KB) Fabian Thommen, 2013-07-11 14:48

Screenshot-18.png View (12.3 KB) Fabian Thommen, 2013-07-11 14:48


Related issues

Related to Core - Feature #50570: remove __no_wrap__ in imageorient dropdown Accepted 2013-07-30

History

#1 Updated by Philipp Gampe about 4 years ago

  • Category changed from Backend User Interface to Backend API
  • Status changed from New to Needs Feedback
  • TYPO3 Version changed from 6.1 to 6.0
  • PHP Version set to 5.2
  • Complexity set to hard

Did you try to remove the items 25 and 26? This should also remove the whole optgroup.

I do not think that we will fix this for 4.x, because those are in priority&security maintenance.

#2 Updated by Fabian Thommen about 4 years ago

If I remove 25 and 26, of course --div-- has gone.

But for this project specific config, I need imageorient 0 and 26

TCEFORM.tt_content.imageorient.removeItems  = 1, 2, 8,9,10,18,  17, 26

Its ok to fix it for 6.x branch.

Maybe this --div-- = no_wrap should be removed anyway, it's a bit odd anyway.

#3 Updated by Alexander Opitz over 3 years ago

  • Status changed from Needs Feedback to New
  • Is Regression set to No

#4 Updated by Mathias Schreiber over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Mathias Schreiber

Note to self:
SelectElement:347 -> add (string)

#6 Updated by Mathias Schreiber almost 2 years ago

  • Target version deleted (6.2.0)

#7 Updated by Riccardo De Contardi over 1 year ago

Still present in 6.2.x, 7.6 and latest master (8.1-dev); it affects both CSC and FSC

#8 Updated by taywa gmbh about 1 year ago

After some years I revisit this issues (Using my company user 'taywa') I think best would still be remove --div-- at all. As written here: #50570

Fabian

#9 Updated by Carsten Arloth about 1 month ago

This weird behaviour is still existing in 8.7 LTS (using 8.7.2 as of now).
I want to keep specific values of imageorient, but want to get rid of the optgroups inside the select box.

#10 Updated by taywa gmbh about 1 month ago

  • Target version set to 9.0

Also available in: Atom PDF