Well, what I want to do is having a template variable for some documents which are like "articles" with some authors.
In this TV the options can be 1 or more (the authors) but, and here is the difficulty, each author have to be one of my site’s id (concretly one from inside one folder of my site).
I know that @EVAL cans evaluate php expressions but I don’t know how to get a expression which can get me a string wich the format "pagetitle1||pagetitle2||pagetitle3... " for using it like options for the Multi-Select variable.
Can somebody help me? Thanks.
I usually create a snippet and use @eval $modx->runSnippet....