Hi ModX’ers
I am stuck on this.
I have a TV that generates a (select-)list of documents from a folder.
To achieve this, I have an @SELECT in the TV:
@SELECT pagetitle,id FROM [+PREFIX+]site_content WHERE parent=999
This works fine.
Now, I am working on a multiple language site and I want to get the parent-folder-id dynamically, so I can use the same TV on either language.
This means that I need to find a way to have something like this:
@SELECT pagetitle,id FROM [+PREFIX+]site_content WHERE parent=[ID-DEPENDING-ON-LANGUAGE]
I seem not to get the solution and somehow I fear that there is none

In that case, I would have to add a (site)template for each language an assign the language-based TV’s to the according template.
I hope that someone has a solution for this...
Thanks for your replies.
QT