Modx, GetField SnippetJust wanted to share a pretty useful Modx snippet I ran across today. I was having some difficulty with the MODx UltimateParent snippet in that it would only return a document ID rather than the actual [*pagetitle*] of a given parent document. I was trying to dynamically call in a directory title above a WayFinder navigation output. So, what I was ending up with was a nice unordered list navigation with the heading of “2″ or “3″. After a little searching I found the GetField snippet created by grad. Follow the link above to download this nifty little piece of code.

Sidenote: NETTUTS Tutorial

NETTUTS has just posted a great MODx tutorial by Shane Sponagle. It’s definitely worth checking out if you’re new to MODx.