Project

General

Profile

Actions

Bug #15388

closed

Bad usability of multi-FE-groups

Added by Martin Kutschker almost 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2006-01-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The group-select-box has two items that are mutually exclusive: hide-at-login and show-at-any-login.

Currently you can select them both at once together with the groups.

I think this is not a small cosmetical problem, but a real usability error.

As both boxes next to each other are very broad I suggest, removing the group-select. It could be replaced by a wizard. This wizard has three radio buttons: hide-at-login, show-at-any-login, show-for-selected-groups and a select box with all available groups. To apply the changes there is an ok/apply button.
(issue imported from #M2226)


Files

exclusiveKeys-v2.patch (4.94 KB) exclusiveKeys-v2.patch Administrator Admin, 2006-03-18 15:57
bug_2226_post.diff (1.03 KB) bug_2226_post.diff Administrator Admin, 2006-03-18 15:57

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #15313: The width of tt_content is too large (due to access options)ClosedSebastian Kurfuerst2005-12-28

Actions
Actions #1

Updated by Martin Kutschker over 18 years ago

Another solution is to add a new feature to the type="select" named "exclusiveKeys". Here you can list (for classic multiple selector boxes) a comma delimited list of keys that exclude all other keys when set.

I think it makes only sense if maxitems>1 and renderMode is not set.

To add some JS code that does the trick on the client side this form rendering function is affected:

class.t3lib_tceforms.php:getSingleField_typeSelect_multiple()

To enforce this on serevr side I think here are some changes needed:

class.t3lib_tcemain.php:checkValue_group_select

Shouldn't be too hard to do and is perhaps reusable for other parts of the Core or some extensions.

Actions #2

Updated by Martin Kutschker over 18 years ago

The attachment "exclusievKeys.patch" implements the suggested changes to the TCA, the form rendering and the form submission handling.

Actions #3

Updated by Martin Kutschker over 18 years ago

I've uploaded a new version with cosmetical changes and another oen by Michael Stucki that applies the new TCA features to the access fields of "pages" and "tt_content".

Actions #4

Updated by Martin Kutschker over 18 years ago

Fixed in CVS.

Actions #5

Updated by Martin Kutschker over 18 years ago

IMPORTANT: Somehow I dorked the commit. The bug is not fixed in 4.0! Please use 4.0.1 or later, if it is an issue for you.

Actions #6

Updated by Michael Stucki over 18 years ago

Ah, now I understand! I noticed this two days ago and wanted to investigate it later... Thanks for taking care of it!

Actions

Also available in: Atom PDF