Feature #24324
closed
tcaTree: Feature to make own record unselectable
Added by Georg Ringer over 13 years ago.
Updated almost 11 years ago.
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)
Steffen, do you have some time to add this "missing feature"? Would be a cool addition, I think.
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
Patch set 2 of change I7c0cc969586c90ea3861754605d95b072eedad88 has been pushed to the review server.
It is available at http://review.typo3.org/976
- Target version changed from 1081 to 1238
- Target version changed from 1238 to 1281
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
- Target version deleted (
1281)
Also available in: Atom
PDF