<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body style="direction: ltr;" bidimailui-charset-is-forced="true"
bidimailui-detected-decoding-type="latin-charset" text="#000000"
bgcolor="#ffffff">
<p style="margin-bottom: 0cm; margin-top: 0pt;">When I load a node,
if my module knows that the content type is selected for use with
it, it takes the field name it's supposed to interact with and
looks at the field's contents.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">One site I'm running
this on has 8 content types in use. Seven were marked to be used
with the module, and for each, if the field were field_image, I
would access $node->field_image, and all was well.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">Today I enabled it
using the final content type, and added a field_image to that
content type too. The only difference with that one is that it is
enabled for use with node block. </p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">I find that although
other cck fields on the content type are at the
$node->fieldname level, the image field does not appear there,
but does appear in $node->content->fieldname. So, I'm
wondering, should I be looking in $node->content->fieldname
on all of the content types instead of just $node->fieldname,
and if not, what's going on with this one?<br>
</p>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0in;"><img
src="cid:part1.05070603.07060809@ayendesigns.com"
name="ayenlogo" valign="top" vspace="30" align="LEFT"
border="0">
<font style="font-size: 8pt;" size="1">Ayen Designs </font><font
face="Times New Roman, serif"><font style="font-size: 8pt;"
size="1">
<br>
388 Bullsboro Drive #105 · Newnan, Georgia 30263</font></font>
<br>
<font face="Times New Roman, serif"><font style="font-size:
8pt;" size="1">
404-271-9734<br>
Web:<a href="http://ayendesigns.com">ayendesigns.com</a><br>
Blog: <a href="http://theaccidentalcoder.com">theAccidentalCoder.com</a><br>
Drupal: <a href="http://drupal.org/user/367108">j. ayen
green</a> (367108)<br>
IRQ: j_ayen_green<br>
IM (Yahoo) baalwww (MSN) <a class="moz-txt-link-abbreviated" href="mailto:baalwww@yahoo.com">baalwww@yahoo.com</a><br>
Skype: ayendesigns | Facebook: ayendesigns | Twitter:
@ayendesigns
<br>
<br>
Ayen Designs is the computer services division of <img
src="cid:part2.04060600.04000603@ayendesigns.com"
name="acmelogo" align="absmiddle"></font></font></p>
</div>
</body>
</html>