On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
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