Hello,
Eoler' solution is great, but it seems that PHx forget some placeholders like [+introtext+] or other TVs.
I use Ditto to list all ressources from a directory.
That directory has subfolders.
So I wrote this in the tpl that is called by Ditto :
[+isfolder:eq=`1`:then=`{{infosUtilesDossierTpl}}`:else=`{{infosUtilesTpl}}`+]
It works just fine, the right tpl is used, but datas is missing.
For example, in the chunk infosUtilesTpl, I wrote :
<p>
<a style="display:block;" href="[+fichierATelecharger+]">[+pagetitle+]</a>
[+introtext+]
</p>
introtext and the TV fichierATelecharger are blank.
When I call directly the chunk infosUtilesTpl, introtext and fichierATelecharger do appear.
Any ideas ?
Thanks in advance.