We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
Subscribe: RSS
  • This is an auto-generated support/comment thread for GetChunkByUPID.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    GetChunkByUPID - MODx snippet (Get Chunk by UltimateParent ID)
    this snippet recursively searches the document tree and determines the "ultimate" parent (the one whose parent is 0) of the given document, then ads that ID to a chunk name. it will then give you a chunk call corresponding to the id.
      follow me on twitter: @dimmy01