Heyho,
I am very new to MODx - but I love it!!!
So far so good. I want to get the Output of a special TemplateVar of another page but I cannot find the command for this. I’ve found the function getTemplateVarOutput on the Wiki but nobody has written sth about it, so that I do not know how to use it.
Perhaps you can tell it to me. All in all: need snippet to get the TemplateVar of a page with certain id.
greetings
Max
I love MODx
-
☆ A M B ☆
- 24,524 Posts
This exactly is the way i’m trying to use getTemplateVarOutput. But the result is not the rendered output but the stored value. The TV is of type listbox (multi-select). So the stored value is for example 1||3||4. The Output value should be something like "name1||name3||name4", but I only get "1||3||4". Is there any way to receive the rendered output?
Martin