We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37523
    • 141 Posts
    I am attempting to use getResources to list links to a number of child pages that the current logged in user can view from a parent page and has access to.

    My thoughts are to use the &where json field based around isMember for the current logged in user but have no idea how to implement it.

    Any help greatly appreciated.
      Glyn Szasz
      Sydney, Australia

      Happy to help (when can) and happy to learn

      If you are a Sydney based MODX developer would love to hear from you. Please contact me.
      • 42046
      • 436 Posts
      Have you tried the Personalize snippet to only use the getResources call for login members?

      http://bobsguides.com/personalize-tutorial.html
        • 40045
        • 534 Posts
        Can you not just put the resources in a resource group and if you list them only the ones the user has access to are shown?