@SELECT filename FROM modx_maxigallery WHERE gal_id=[*id*] AND hoofdplaatje=1
@SELECT filename FROM modx_maxigallery WHERE gal_id={$modx->documentIdentifier} AND hoofdplaatje=1
@EVAL $id=$modx->documentIdentifier;
@SELECT filename FROM modx_maxigallery WHERE gal_id=$id AND hoofdplaatje=1
No, it’s not possible, though you could try setting placeholders with another snippet first, outside the TV. Only placeholder content gets replaced in the @SELECT.
I can not use a snippet bcause I use this tv for ditto also.
Quote from: Dimmy at Feb 12, 2007, 09:57 AMNo, it’s not possible, though you could try setting placeholders with another snippet first, outside the TV. Only placeholder content gets replaced in the @SELECT.
I can not use a snippet bcause I use this tv for ditto also.
Now, what is this last statement regarding? How does using @SELECT work but a snippet doesn’t; and what does that have to do with Ditto?