I tried TobyL’s mod http://modxcms.com/forums/index.php/topic,14306.msg96738.html#msg96738,
and it did not do the trick.
FYI: using the hack will result in PHX not being recursive.
The reason phx takes on the placeholders is because it needs to resolve the value when they are nested.
PHx is prohibiting me from specifying a Chunk name with a TV.
ex. {{[*right-hand-images*]}}
[+phx:userinfo=`id`:gt=`0`:then=` <h3>[+pagetitle+]</h3> <p>[+introtext+]</p> <p><a href="[~[+id+]~]">View details</a></p> `:else=` <h3>[+pagetitle+]</h3> <p>[+introtext+]</p> <p><a href="[~36~]">Login to view details</a></p> `:strip+]

<div id="ditto_wrapper">
<div id="ditto_pages">[+articles_previous+] [+articles_pages+] [+articles_next+]</div>
<strong>[+articles_total+]</strong> Total Articles<br/>
</div>
<?php
$html='<div id="ditto_wrapper">
<div id="ditto_pages">[+articles_previous+] [+articles_pages+] [+articles_next+]</div>
<strong>[+articles_total+]</strong> Total Articles<br/>
</div>';
return $html;
?>
<?php return $modx->getChunk( 'ditto_pages' ); ?>

{{[*right-hand-images*]}}[[returnChunk? &chunk=`[*right-hand-images*]`]]
This might be the basic pattern to solving this general problem introduced by PHx.
This discussion is closed to further replies. Keep calm and carry on.