<![CDATA[ Support/Comments for GetChunkByUPID - My Forums]]> https://forums.modx.com/thread/?thread=38283 <![CDATA[Support/Comments for GetChunkByUPID]]> https://forums.modx.com/thread/38283/support-comments-for-getchunkbyupid#dis-post-216260 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.]]>
Dimmy Jun 30, 2006, 09:10 AM https://forums.modx.com/thread/38283/support-comments-for-getchunkbyupid#dis-post-216260