Posted by designzillas on 5/14/10
We are a talented group of web-savvy technoweenies who produce creative solutions that inspire results.Free Quote
Let's jump right in to it! If you look at a full node within your template you will notice that all of the text fields have three variables attached to them:
The differenced between the three is very simple, but critical when deciding which one to use when saving your Drupal field values.
One thing we have to keep in mind is that the safe variables are only generated upon the "view" operation for the hook_nodeapi(). This means that (, , , ); needs to be called after you load the node. In other words, if you need the safe variables after calling node_load() you need to call node_build_content() which will remove the teaser delimeter and also call node_invoke_nodeapi() for the view operation.
Here is an example:
$node = node_load(12);
$node = node_build_content($node);