Feature #24324
closedtcaTree: Feature to make own record unselectable
100%
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)
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.
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
Updated by Oliver Hader over 13 years ago
Submitted for 4.6-alpha1 in 7ac39b25fa7b570bd92438da4f5681ebcebac173
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
Updated by Xavier Perseguers over 13 years ago
- Target version changed from 1081 to 1238
Updated by Oliver Hader over 13 years ago
- Target version changed from 1238 to 1281
Updated by Steffen Ritter over 13 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset 1da4aa371362e96a40b4d3fc581429e78f504c07.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed