PDO Resources - tpl Placeholder

Hello,

is there any way to pass a custom value into the tpl chunk (placeholder)?

Example:

[[!pdoresources?
&tpl=`myChunk`
&customValue=`My Value is 12345`
]]

myChunk

<div class="myclass">
[[+pagetitle]]
[[+customValue]]
</div>

MODx Revo 2.8.3-pl
PDO Tools 2.13.2-pl
PHP 7

I think what you have there should work fine.

Hm, then I probably made a mistake with ContentBlocks input. I set PDO Resources there as an option.

Thanks for the feedback!

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.