Quote from: sottwell at Mar 25, 2013, 07:52 AMHave categories for resources, tie TVs (well, not TVs any more, obviously) to the resource's category. Leave Templates out of it, those fields have nothing at all to do with templates and everything to do with the resource. Templates were used simply because they were an existing, handy way of categorizing resources. But now what happens if you want to use the same template, but have different TVs for various groups of resources? You end up with multiple copies of the exact same Template, just to organize the TVs!
I very often have that problem, what I do is manage my templates as static resources via ElementHelper extra and then just duplicate the template (leave the static source the same) and assign it other TVs, but even if this works, it's definitely not an ideal solution...
Quote from: sottwell at Mar 25, 2013, 08:29 AMThey aren't filling out fields for the template, they are filling out fields for the resources. Those fields have nothing at all to do with the template. If you have different groups of resources that need different TVs, some need these TVs and others those, then you either have a cluttered, confusing TV list, or you have a template for each group of resources. And what happens if, for some reason, you want a resource to have no template, but you want TVs for it? Another totally redundant template.
have a ton of them =D...I use them usually with getResources or something like that, so I don't need actual HTML in the template (that goes into the getResources tpl / tplWrapper chunks, but I need custom fields for example for "product" or "teammember" resources...so a template for this purpose works but it's totally "inelegant" of having to do it like that^^, so I would love to see another solution to assign TVs/Forms to resources...
Quote from: Bruno17 at Mar 25, 2013, 11:44 AMI think there should be something like formtemplates (something like formtabs in MIGX)
A formtemplate defines which fields (TVs) have to be in which order on that form
Each Template could have assigned one or more formtemplates.
Each Formtemplate could be assigned to one or more Templates.
When the user selects a new Template and there are more than one formtemplates for that template,
there should be a dropdown from where to choose the correct formtemplate or make it depending on other settings which formtemplate to select in this or that situation.
I like that idea of "Formtemplates", it would be great if even the "standard" resource fields could be controlled like that (would maybe reduce form customization needs to a certain degree or replace it even completely...)