Hello,
I'm just getting mad on getResources...
What I'm going to try is to display all pages which have the TV "Titelseite" set to "yes", formatted by a chunk called "tpl_titel"
Sitestructure (with modx-id):
Home (1)
Pictures (7)
Archiv (8)
------ concert_1 (9)
------ concert_2 (35)
------ concert_3 (36)
Concerts (10)
Choir (11)
----- repertoire (13)
----- conductor (29)
Chamberchoir (15)
------ the choir (16)
------ repertoire (17)
------ program (18)
All resources are set to "published" and "show in menu".
First issue: If I do a simple
[[getResources? &parents=`0` &debug=`1`]]
,
only 5 resources will be displayed: 29,18,17, 16, 15 (in this order) - nothing more. But I haven't set a limit? Where's the mistake?
Second issue: If I do a more complex approach to get my set of pages according to my plan described above,
[[getResources? &parents=`0` &tpl=`tpl_titel` &includeTVs=`1` &tvFilters=`Titelseite=Ja`]]
nothing will be displayed (at least no result of the getResources-call, the template including the call is displayed)
Since
[[getResources? &parents=`0` &tpl=`tpl_titel`]]
at least displays content from ids 15,16,17,18 and 29, the second issue seems to be in the filtering by tv's.
Any suggestions to solve this problems (issue 1: only 5 of 13 resources being displayed in debug-mode, issue 2: nothing displayed when filtering by tvs ?
Great thanks in advance,
Calvair
Version: MODX Revolution 2.4.2-pl