I have a phptemplate function that changes a webform field "name" but the original value is still hitting the $content . My DSM values show I'm editing the $vars array correctly. what's wrong?
http://drupalbin.com/15355?nocache=1
<php
function phptemplate_preprocess_node(&$vars, $hook) {
dsm($vars); //output shows expected original values based on webform settings
$vars['webform']['components']['13']['name'] = '($'.$_GET[parkfee].')'; //swap value for a new value
dsm($vars); output shows NEW value as set by the previous line
return; //$vars is passed by reference no need to return any values
}
// #FAIL the NEW value for $vars['webform']['components']['13']['name'] is lost and the original value is what is output to the screen.
?>
I have used this function before with success. BUT I just realized that "phptemplate_preprocess_node" is not found on api.d.o
phptemplate_preprocess_page IS
so is template_preprocess_node
I dunno... Comments welcome!

Comments
Resolution
Oh yah.. I solved this the next day.
I ended up using a hook_nodeapi in a custom module; checking for the $node->nid then checking for the $_GET[] values and assigning them.
Apparently the theme layer was the wrong place to be doing this.
All is well!
:-)