It seems that getTemplateVars can only get a single documents template vars rather than an array of documents like other functions. Does anyone know how to modify the SQL query contained in getTemplateVars so that it will work with more than one document? I have tried the methods I know with no success. (I don’t do too well with multiple JOINS in SQL querys...)
It should be possible with the Group by statement and the IN condition. I will have to double check on it.
-
☆ A M B ☆
- 24,524 Posts