Hi guys,
This is for MODX Revolution.
I am looking to see if we can dynamically populate TV *input options values* based on currently edited resource, and those values will also come from the resource tree based on the criteria defined.
For example, in a multi author, multi blog setup, every blog has a different categories. One way is to setup different templates for the different blogs and use different TVs with static input option values.
The other way is to determine the current parent (blog homepage), where user is creating/updating the post and populate the values from its children categories, possibly under a "Categories" container. eg.
@SELECT pagetitle,id WHERE parent = __current blog homepage's category container id__
Looking forward to what you guys have to say about this, and how to do it.