- TV allows you to build custom forms, with fields you need to save in BDD values that you want to print or filter with getResources.
getResources is similar to Ditto and therefore only get Resources (Documents).
You can then filter resources by TV for example when you use a TV for tagging:
- you create a TV for the tags which can be attached to any template,
- A snippet for the landing page to get the passed tag value
- A landing page with getResources and the TV filter
Then the output of the results depend on your getResources chunk template, who are not related to either the template nor the TV.
- But you have to bind them to a specific template, you cannot build several custom forms that will be outputed in front-end with the same template. Am i wrong ?
That leads me to create a new template when i want a new form, even if those two custom forms could use the same template in front-end
For now, it seems to me that when choosing a template, you choose how your informations will be printed AND which form you want to fill...
I’m pretty sure that you don’t have the right approach but don’t know how to explain it, maybe if someone more pedagogic can enlighten you...
But maybe there is something i don’t understand with modx revo, and there is a way to bind different set of TVs with the same template ?
When you create a TV, you can tell which Template will have access to it.
You can create several TVs all attached to the same template(s).