Bug #22223
closedConditions in PageTSconfig does not work!
0%
Description
I have taken the following from http://typo3.org/documentation/document-library/core-documentation/doc_core_tsconfig/4.3.2/view/1/2/ and it does not seem to work:
[treeLevel = 1]
TCEFORM.tt_content.section_frame.disabled = 1
[GLOBAL]
And the following:
[globalVar = GP:id = 10]
TCEFORM.pages.nav_title.disabled = 1
[global]
does not work either, although I can see the configuration is set in Info -> Page TSconfig -> TCEFORM. on page id 10
Strange!!!!
It gets even more strange when I add the same configuration through extTables.php (minus the condition) it works!!!!!
(issue imported from #M13720)
Updated by Susanne Moog over 14 years ago
The first one works, you just have to pay attention that the treeLevel condition starts counting at 1 not at 0, so perhaps you just looked at the wrong level.
Updated by Claus Harup over 14 years ago
Hi Susanne
I still cant get it working - I added the configuration to the page set to rootLevel and checked 3 levels down - not working!
Any ideas?
Updated by Claus Harup over 14 years ago
Hi again
I solved it :-)
Can you give me a hint for configuration for special doktypes though.
I would like to remove some items of tt_content when editing certain doktypes.
Updated by Benni Mack over 14 years ago
Hey Claus,
what you're looking for would be
TCEFORM.tt_content.text.header.disabled = 1
where text is the CType field. Thus, the line above says that the header field will not be shown if you select a Content Element with the type "text".
Please, if you have further question, use the mailing lists, as you get quicker help for such problems, or have a look at the documentation.