<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#ffffff">
The problem doesn't seem to be getting to the $node->content
structure. That's present in $node when I hook during op=view. The
problem seems to be getting the data into the right place in a cck
image field in $node->content. If I were copying the body text
from one node the one being viewed, I could just set
$node->content->body['#value'] equal to the new text, but
$node->content->my_cck_imagefield doesn't have a '#value', the
field info is at<br>
<br>
$node->content->my_cck_imagefield['field']['items'][0]['#item']<br>
<br>
when I hook, that element only contains #delta=>0<br>
<br>
then I set #item = the array containing<br>
<br>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="font-family:
Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 12px;
line-height: 18px;">
<pre>[fid] => 11
[list] => 1
[data] => Array
(
[description] =>
[alt] =>
[title] =>
)
[uid] => 1
[filename] => myimage.jpg
[filepath] => sites/mydomain.com/files/myimage.jpg
[filemime] => image/jpeg
[filesize] => 174602
[status] => 1
[timestamp] => 1296425237
)</pre>
</span></span>and the dsm() output of the node after that shows
that #item still only contains #delta=>0, so I'm missing the
piece of how/where I replace the field contents.<br>
</body>
</html>