Hello guys!
I want to list a folder and its subfolders recursively.
Initiate
[[Ditto?parents=`162`&tpl=`list_recursive`&display=`all`&sortDir=`ASC`]]
{{list_recursive}}
[+id:hasChilds:is=`1`:then=`{{list_recursive_folder}}`:else=`{{list_recursive_element}}`+]
{{list_recursive_folder}}
<div class="wrapperCategorie">
<h2 class="level[+id:level+]">[+pagetitle+]</h2>
[[Ditto?parents=`[+id+]`&tpl=`list_recursive`&display=`all`&sortDir=`ASC`]]
</div>
{{list_recursive_element}}
<div class="wrapperElement">
[+pagetitle+]
</div>This and exactly this work really fine.
But if i want to use more placeholders in {{list_recursive_element}} they wont display. just [+id+] and [+pagetitle+] work....
for example {{list_recursive_element}}
<div class="wrapperElement">
[+id+][+pagetitle+][+longtitle+][+introtext+]
</div>display just the id and pagetitle
Thats the strange behavior.
if i use in the chunk "list_recursive" the source of the chunk {{list_recursive_element}} instead its call it will work.
example
[+id:hasChilds:is=`1`:then=`{{list_recursive_folder}}`:else=`
<div class="wrapperElement">
[+id+][+pagetitle+][+longtitle+][+introtext+]
</div>
`+]
All fields are displayed.
is it understandable what i want do do and write? And Is there a explanation for this?
Thank you
ciao, Stefan