Hello,
I’m using this technique
http://wiki.modxcms.com/index.php/Create_TV-Based_Chunks
in my template to display another chunk in another section of the site.
Now,
my question is: can @INHERIT be used together with this tv based chunks?? So that I only need to set the value for chunk in the parent and then automatically all children also have the correct chunk displayed.
Of course, I can set all values of the TV with the Docmanager, but for newly created documents (by editors) this could be a problem. The editors might forget to check the correct chunk.
So i want to have the checkbox tv value inherited automatically for the (new) children docs.
Is this possible?
thx
EDIT:
OK, the @INHERIT function only works with TV type ’Text’. With the TV_based_chunks it is nicer to use checkboxes or radio buttons. Is there no workaround to pass the value of the checkbox TV to children??
EDIT:
SOLVED: when using TV type Listbox (single select) and default value @INHERIT --> the correct chunk is passed to all the children. So I only need to choose the chunk on parent level and all children aut. get right chunk