Drupal Pro Development is a must have.<br><a href="http://www.drupalbook.com/">http://www.drupalbook.com/</a><br><br><div class="gmail_quote">On Fri, May 7, 2010 at 5:30 PM, Xavier Bestel <span dir="ltr">&lt;<a href="mailto:xavier.bestel@free.fr">xavier.bestel@free.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On Fri, 2010-05-07 at 16:24 +0200, Xavier Bestel wrote:<br>
&gt; Hi again,<br>
&gt;<br>
&gt; So I&#39;ve build this CCK node with various fields, some of them are<br>
&gt; userreferences. I want to access some values from PHP (in a custom CCK<br>
&gt; computedfield), but it doesn&#39;t seem to work:<br>
&gt;<br>
&gt; - I can access e.g. the date from my field_date using<br>
&gt; $node-&gt;field_date[0][&#39;value&#39;];<br>
&gt;<br>
&gt; - If I try to access a user from field_proprio, I get nothing. I tried<br>
&gt; $node-&gt;field_proprio[0][&#39;value&#39;] and<br>
&gt; $node-&gt;field_proprio_uid[0][&#39;value&#39;] but none of them work.<br>
&gt;<br>
&gt; Could anyone tell me how I can access a user, or which bit of the<br>
&gt; copious Drupal doc I should look at ?<br>
<br>
Sorry for wasting your time reading these two emails, I finally googled<br>
successfully for an answer.<br>
For those interested: $node-&gt;field_proprio[0][&#39;uid&#39;]<br>
<br>
I&#39;m sure there are many other veery interesting things in Drupal. As I<br>
have a little problem to read big docs on-screen, does anyone have a<br>
good book recommandation for people who know want to do advanced things<br>
(like module creation) with Drupal ?<br>
<br>
Thanks,<br>
<br>
        Xav<br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Damien Cirotteau<br>Rue89 -- <a href="http://www.rue89.com">http://www.rue89.com</a><br>** Nouvelle adresse **<br>24 rue de l&#39;Est<br>75020 Paris<br>** Nouveau téléphone **<br>

+33 (0)1 71 18 20 11<br>====================================<br>Pour soutenir Rue89 : <a href="http://mur.rue89.com/">http://mur.rue89.com/</a><br>====================================<br>