hi, i use ModX 2.2 pl2
i have 2 trees in resources tab. Like this:
tree1 (1)
- tree1 (2)
- tree1 (3)
tree2 (4)
- tree2 (5)
- tree2 (6)
All resources use same template. And i got 2 TVs "tv1" and "tv2".
I want to tv1 will show in childs of tree1 and tv2 in childs of tree2.
So, in Security --> Form Customization i created profile. and 2 sets (on update resource).
In first Constraint - parent and value 1, in second Constraint - parent and value 4.
In first i chhose to hide tv2, in second tv1.
In result i have no tvs at any of 6 resources i have at all. What's wrong?
(p.s. sorry for my english)
the easiest way to manage the TVs to show/hide, is to use different templates for this resources.
If the template-code itself is the same you can use chunks to put them in or you can create a template-file and make both templates static (use the same file as template-content)
so, is it a normal behavior for "Form Customization"?
i just don't want many same templates for pages, because all of them use the same semantics and resources differs only by TVs.
and i don't want 10-20 useless TVs in each resource.
i thought that Form Customization puts in order all of this.