Bug #96011
closedpage TSConfig to select root(s) of selectTree doesn't work
0%
Description
Before the following change:
It was possible to set a selectTrees rootId with page TsConfig as is still documented here: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/TceForm.html#config-treeconfig
However since the new Feature neither the old option
TCEFORM.tt_content.myField.config.treeConfig.rootUid = 42
nor the new option
TCEFORM.tt_content.myField.config.treeConfig.startingPoints= 42
seem to work.
I would like to update the documentation was the behaviour of seetting the rootUid via TsConfig removed without replacement?
Updated by Oliver Bartsch about 3 years ago
- Status changed from New to Needs Feedback
Hi Lina,
just checked this, but can not confirm. Both rootUid
as well as startingPoints
work as expected. I tested with the styleguide fields tx_styleguide_elements_select.select_tree_5
and tx_styleguide_elements_select.select_tree_6
, as well as with pages.categories
(for the new TCA type "category").
Used following TSconfig options:
TCEFORM.tx_styleguide_elements_select.select_tree_5.config.treeConfig.rootUid = X TCEFORM.tx_styleguide_elements_select.select_tree_5.config.treeConfig.startingPoints = X,X TCEFORM.tx_styleguide_elements_select.select_tree_6.config.treeConfig.rootUid = X TCEFORM.tx_styleguide_elements_select.select_tree_6.config.treeConfig.startingPoints = X,X TCEFORM.pages.categories.config.treeConfig.rootUid = X TCEFORM.pages.categories.config.treeConfig.startingPoints = X,X
Could you please check with the above options if you can still reproduce in current master?
Updated by Lina Wolf about 3 years ago
Cant reproduce. I think there was an error in my TsConfig
Updated by Lina Wolf about 3 years ago
- Status changed from Needs Feedback to Closed