Код: Выделить всё
resource1
- resource1-child1
- resource1-child2
resource2
- resource2-child1
- resource2-child2
Код: Выделить всё
[[!getResources?
&includeContent=`1`
&parents=`[[pdoField?
&id=`[[*id]]`
&field=`id`
&topLevel=`4`]]`
&resources=`-[[*id]]`
&includeTVs=`1`
&processTVs=`1`
&sortby=`menuindex`
&sortdir=`asc`
&depth=`10`
&limit=`100`
&tpl=`allDoctors`
&where=`{"template:=":104}`]]
Подробнее здесь: https://stackoverflow.com/questions/459 ... -menuindex
Мобильная версия