Is there a wrapper tpl for MIGX?

Hi everyone. Does MIGX support any kind wrapper or outer tpl ? I tried the code below with no success.

&tvtplWrapper=`test[[+output]]

Thanks a lot!

If you’re referring to a getImageList call, the wrapper property is named &wrapperTpl

1 Like
&wrapperTpl=`@CODE:test{{+output}}`

or

&wrapperTpl=`@CODE:test[[+output]]`

the difference is, the letter would replace the output - placeholder allready before the snippet runs, if there was a placeholder allready set with the name ‘output’
so better use the first syntax for inline tpl.

You could of course also create a tpl chunk and use the name of that chunk without the @CODE: part

1 Like

Thanks @bruno17 and @vibedesign. Yes &wrapperTpl works perfectly.

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”.