David Walker
Principal, Shorewalker DMS
Phone: 03 8899 7790
Mobile: 0407 133 020
I also stumbled over the fact that the template must contain [[*content]] if a template is used.
The only reason for using templates with static resource is to attach additional data to the resource for example tags or keywords. In that case a lot of errors like described here could be avoided if the template content is ignored for static resources. Just a suggestion.
-
MODX Staff
- 10,725 Posts
You can construct Static Resources with Template Variables and any other MODX Elements. This is different than allowing these so-called "Resource Types" (we already have the ability to extend the Resource class) which is more about being able to attach pre-defined "Sets" of Elements directly to a Resource. This is already on the Road Map for a future release, and was planned in the original prototype.