I am figuring out cr_templates. I stored one in CR, accessed it through index.vuh and have edited it with BCMS-UI.
The problem that occurs is that when the content is changed in CR it is not accessible through content::init (index.vuh), because content::init writes the template out as an .adp/.tcl pair, but doesn't update this pair if the template in CR changes. It just checks if the file exists, AFAICT. It doesn't track difference between the file and CR.
Am I missing something?
One other thing. I would like to set extra variables in the template-name.tcl. How can I do that? Is there a template attribute that I can use? Currently I'm adding "source ../extra_template_vars.tcl" to template-name.tcl to pass the variables in. I was thinking of an attribute that would hold the (optional) name of a file that needs to be sourced.