We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 49635
    • 63 Posts
    Hello!

    I had a few folders:

    folder one and folder two.
    Folder one had few documents and folder two had two documents in collection modx revo

    How do I display TV value in the first folder, it is presented as a link to a resource?

    What i'm using
    [[pdoField?
        &id=`[[*id]]`
        &field=`pagetitle`
        &top=`2`
    ]]


    But I get value parent resource in folder...

    Ok i'm using

    [[getResourceField? &id=`[[*id]]` &field=`pagetitle`]]


    And get value parent resource in folder...
      • 49635
      • 63 Posts
      I found a solution runs through pdoField

      [[!pdoField? &id=`ID__custom_resource` &field=`pagetitle`]]


      But not working

      [[getResourceField]]


      Maybe there are more options )
        • 3749
        • 24,544 Posts
        This:
        [[*id]]


        evaluates to the ID of the current resource being viewed, which I think is not what you want.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting