-
- 50 Posts
yes the rest is working
my main problem is about:
&parents=`2`
How to make an array of all child of the ressource 2
-
- 463 Posts
using &parents and &resources will only bring back the resources with said id's
I think theres more to this problem that we are seeing, which without CMS access is obviously hard to troubleshoot, but I think that its soemthing to dow ith the templates in the CMS and the call within it. In the past I have used 2 templates to deal with nesting as it was easier for the client, i think this might be one of those situations that the calls NEED to be on a template level and not in the Chunk at all.
-
- 50 Posts
i'm calling it from the ressource now and not from the chunk and it do not work.
I think it's a php problem or a bad installation of modx... I have tried everything
-
- 165 Posts
I would definitely put the getResource call into the template, and not a chunk or resource.
Remove the &resources and replace with &parents as before and make sure that the tv. part is removed from the chunk you are using for the output.
Screenshots or code pastings of what you're seeing manager side might help us, as without access to the manager it's kind of hard to track down.
Are you seeing any errors in the error log? You can also call getResources and miss out the &tpl part which will just dump results to screen without formatting. this can be useful to see if anything is missing!
-
- 463 Posts
Agreed, we need to see whats going on in the back end, If you want I could have a quick look for you if you wanted to Pm the access details.
-
- 463 Posts
apologies for it taking so long, ive been starting at getresources all day anyway - note to self look at calls more closely.