Hi,
All of my getRessources call are perfect exept for one that display me the wrong ressources.
I suspect the fact that this one is called by another, let me explain :
> resource1 call (with gerResources) some resource with them content
>> one of them call (with gerResources)some others and this one deliver the wrong resources
Any ideas?
-
☆ A M B ☆
- 3,141 Posts
Can you show your getResources calls and their tpls?
-
☆ A M B ☆
- 339 Posts
I am trying to understagd, what should output what:
(1) -> 20,22,23,24 (no limitation, everything under (1), 1 level deep)
(20) -> 25,26,27 (display only the first of them (limit=`1`))
(22) -> 25,26,27,28,29.... (display up to 10 items under resource 20)
I guess 20 is the news folder, right? Where you put the news.
Questions:
- In AccueilTpl, do you display [[*content]]? Does this [[*content]] contain the getResources call (20)?
-
☆ A M B ☆
- 3,141 Posts
Quote from: gallenkamp at Dec 26, 2012, 09:22 AM- In AccueilTpl, do you display [[*content]]? Does this [[*content]] contain the getResources call (20)?
You mean [[+content]].
I'm also confused by the various getResources calls, lol. Having the &tpl contents would really help.
hello,
first I have understood that depth=`0` is the root and not `1` so that resolved a problem.
Then i had a problem with the resource 22, so i've just rewrited the code character by character and then everything was working well.
So it's resolved.
Thank you.