Well, Mark, you are right. It is not Ditto’s fault but mine.
The snippet I’m using can’t work this way with Ditto because this
$tvout=$modx->getTemplateVarOutput('image',$modx->documentIdentifier);
will look for an TV "image" at the doc with the Ditto call.
But of course it needs the ID from the document with the TV image.
Home... this is calling the sippet
.
.
.
imagedoc1... this one contains the TV image
imagedoc2... and this one too
Can somebody tell me how I will get the IDs of imagedoc1 and imagedoc2, please.