What is the proper format to fetch a variable from the node? All the code I see is for fetching data from other fields, not from variables within the node
What is the proper format to fetch a variable from the node? All the code I see is for fetching data from other fields, not from variables within the node
Comments
Comment #1
derhasi commentedGrabbing node variables should work with
titleorchangedor all other variables available in $node. Just test it.Comment #2
j0k3z commentedIm talking about a varible that I set with php within the node body.
How to I grab that value?
Comment #3
derhasi commentedYou mean you set
$node->body? If it's only a part of $node->body you will get big problems, because then you had to expose the data via regex. This could be dirty. That is too much effort for this module, I guess.