Quote from: mrcou at Jun 17, 2006, 03:31 PM
When we save a document, we could parse the document’s content and save at that moment the chunks and snippets of the document (same thing for templates) in new tables.
It might be useful for the backend, when we want to know where a snippet is used, in which form ...
In the upcoming MODx 1.0, you will be able to explicitly attach any kind of ’content element’ (i.e. template, chunk, snippet, TV, etc.) to any kind of ’resource’ (i.e. web resource or what is known in the current MODx as a document). These relationships will give the back-end management possibilities you are looking for.
This will not prevent implicit use by inserting snippet or chunk or TV tags in the content, and I agree something that could also keep track of the current set of tags used in a piece of content for further expanding the back-end management possibilities, as you are suggesting, would be a useful additional feature.
If you wouldn’t mind, please add a feature request for this to our bug tracker; I think I have a good idea of how to easily implement this alongside the explicit relationships in 1.0. And thanks for bringing up the point.