-
MODX Staff
- 10,725 Posts
Ditto and Wayfinder are not yet context aware AFAIK. getResources is, but regardless, those Resources should be getting selected if they are children of the Resource with id 9.
Do you have any security ACLs that you set up yourself? Could it be that the user has permission for documents 10,11,12, but not for 9? Or is 9 unpublished?
Quote from: BobRay at Apr 11, 2010, 11:10 PM
Do you have any security ACLs that you set up yourself? Could it be that the user has permission for documents 10,11,12, but not for 9? Or is 9 unpublished?
I ran into exactly that problem - my snippet wasn’t able to access resources from other contexts. I had to add an anonymous user and a manager user to each context or it wouldn’t fetch the resources. Make sure you add the manager permission first, because I did it the other way around, and the context actually disappeared on me (I had to go into the database to add the manager as a user).
-matt
God does not save those who are only imaginary sinners. Be a sinner, and let your sins be strong, but let your trust in Christ be stronger, and rejoice in Christ who is the victor over sin, death, and the world.