Hi Marc, hi All together,
correct me if I am wrong. But I had a quick look at the tag snippet source and for me it looks like this snippet is generating the tags by parsing all current documents always live again and again. This could be a big performance problem when having a lot of pages, couldn’t it?
I think we need an extra table for logging tag occurrence?
The simplest table structure could look like
.
Then we would need to hook into modx saving document to let the "tagged words" table to be automatically adjusted when saving a document.
I am completely new to modx, so I really don’t have an idea how to realize this best.
Any suggestions and additional ideas welcome.
Regards,
Tom