Project

General

Profile

Actions

Feature #24324

closed

tcaTree: Feature to make own record unselectable

Added by Georg Ringer almost 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-12-12
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

The tcatree is a great feature to build a category tree. Inside every category the parent needs to be selected (no parent = its a root record).

as it doesn't make sense to select the own record, there should be a setting to hide the checkbox for the current record.

Working with tca > foreign_table_where "AND tx_news2_domain_model_category.uid != ###THIS_UID###" works to but it hides the record completly and it would be nice to see the complete tree

(issue imported from #M16726)

Actions #1

Updated by Ernesto Baschny almost 14 years ago

Steffen, do you have some time to add this "missing feature"? Would be a cool addition, I think.

Actions #2

Updated by Stefano Cecere over 13 years ago

i was just digging into how develop this feature (i need to make unselectable the nodes with childs)

i was thinking about an "selectable" field in my table, to pass to the nodes via a TCA configurable variable (like "selectable_field")

i dig into all the ExtJS and TCA tree renderer.. but could not enable it unselectable="off" on that checkbox

steffen if you can give even a simple hint, i can go on with the patch

thanks

Actions #3

Updated by Oliver Hader over 13 years ago

Submitted for 4.6-alpha1 in 7ac39b25fa7b570bd92438da4f5681ebcebac173

Actions #4

Updated by Mr. Hudson over 13 years ago

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

Actions #5

Updated by Xavier Perseguers over 13 years ago

  • Target version changed from 1081 to 1238
Actions #6

Updated by Oliver Hader over 13 years ago

  • Target version changed from 1238 to 1281
Actions #7

Updated by Steffen Ritter over 13 years ago

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

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #9

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (1281)
Actions

Also available in: Atom PDF