Hi,
I cannot succeed in listing Datagrid widgets with Ditto.
Here the structure:
Parent with Ditto callDisplaying the widget in the child document by calling it from the templates works perfectly. But impossible to return the table to the parent document.
|
|____Child with "[*placeholders_table*]" Datagrid widget
The [*content*] of the child document:
<p>Table describing placeholders</p> [*placeholders_table*]
The parent document has the following Ditto call:
[[Ditto? &tpl=`ClesValeurs` ]]
The {{ClesValeurs}} chunk contains this:
<div style="background:yellow"> <p>Some child content.</p> [+content+] </div>
The parent document shows "Some child content" as well as the "Table describing placeholders" paragraphs. But the datagrid is not displayed.
I assume the problem comes with the order in which things are parsed.
Any trick to overcome this?
Thanks.