Tag Archives: getting

Get TV Values in MODX — The Fast Way

In MODX snippets and plugins, you often need to get the value of a Template Variable for a given Resource. We’ll look at three ways to do this, including a …

Tags: , , , , , , , , , , , , | Posted under MODX, MODX | Leave a comment

Get Any Field from the Parent of the Current Resource in MODX

In a previous article, I wrote about how to get the pagetitle of the current resource’s parent. It occurred to me that a more generic snippet that would get *any* …

Tags: , , , , , , , , , , | Posted under MODX, MODX | Leave a comment