Help me get placeholder content with modx api.
I have DITTO:
[!Ditto? &tpl=`proba` &parents=`114` &depth=`10` &display=`5` &hideFolders=`1`!]
with chunck:
<div><a href="[~[+id+]~]" title="[+pagetitle+]" class="reflect_item_link">[+pagetitle+]</a></div>
[[VOSTOKKKK]]
<br>
Chunck used snippet VOSTOKKKK:
<?php
?>
333:::[+pagetitle+]
<?php
echo "<br>777:::".$modx->getPlaceholder('pagetitle');
?>
I see on my page:
------------------------------------------------
ASP Linux
333:::ASP Linux
777:::
Microsoft Office 2007
333:::Microsoft Office 2007
777:::
------------------------------------------------
At first line I see usual DITTO data.
At line with 333 I see placeholder content.
At line with 777 I want to see placeholder content too - such as at first and second lines. But I can’t see it.
Why?