Thanks Bruno that works great - but it’s created another problem!
Now, for some reason, the introtext placeholder doesn’t work in either template, even though the pagetitle placeholder does! very weird. I’ve tried [+content+], that also doesn’t work (displays blank like introtext) but I tried [+id+] and that displayed the ID fine. Bizarre. My ditto call looks like this:
[!Ditto? &parents=`[*id*]` &tpl=`campratesTableCatTplMasonryInit` &sortBy=`menuindex` &sortDir=`ASC`!]
campratesTableCatTplMasonryInit looks like this:
[+hidemenu:is=`0`:then=`{{campratesTableCatTplMasonryLink}}`:else=`{{campratesTableCatTplMasonry}}`+]
campratesTableCatTplMasonry looks like this
<div class="masonryBoxSub">
<h4>[+pagetitle+]</h4>
<p>[+introtext+]</p>
</div>
and campratesTableCatTplMasonryLink looks like this:
<div class="masonryBoxSub">
<h4><a href="[~[+id+]~]">[+pagetitle+]</a></h4>
<p>[+introtext+]</p>
</div>
Is this the correct way to call the ditto call with phx?