We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36875
    • 5 Posts
    I have a feeling that this should be simple but I am completely lost...

    I have made a page that shows four resources in a square. I have used Ditto for this. Each resource is given a layout in a chunk. So far, so good.

    Now, I know these resources in the square will only ever have one child resource each. And I want all four of them (the parents) to show a link to that child resource. But I don’t know how. I hope it’s clear what I am trying to do. Can someone point me in the right direction?
      • 19370
      • 24 Posts
      well, let me see, you want to link the child to his parent?

      if yes:
      <a href="[~[*parent*]~]">Go Back</a>

      Microdual,
      José Moreira
      Dep. Desenvolvimento
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        And I want all four of them (the parents) to show a link to that child resource
        Not child have a link back to parent.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org