Tada!!!! Awesome Jim, thank you and thank you to all of the rest of you for your time. Glad we( and by we I mean "all of you" ) figured it out.<br><br><div><span class="gmail_quote">On 11/2/07, <b class="gmail_sendername">
Jim Li</b> <<a href="mailto:jimmydami@gmail.com">jimmydami@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Try this:<br><br>global $user;<br>return (array( 0 => array('uid' => $user->uid)));<br><br><br>On Nov 2, 2007 9:00 AM, Chris McCreery <<a href="mailto:chris.mccreery@gmail.com">chris.mccreery@gmail.com
</a>> wrote:<br>> Same one I mentioned earlier, the "configure cck field" page reloads and at<br>> the top in nice red box is:<br>><br>> The default value php code returned an incorrect value<br>
> Expected format : array(<br>> 0 => array('uid' => value for uid),<br>> // You'll usually want to stop here. Provide more values<br>> // if you want your 'default value' to be multi-valued :
<br>><br>><br>> 1 => array('uid' => value for uid),<br>> 2 => ...<br>> );<br>> Returned value :<br>><br>><br>><br>> Thanks<br>><br>><br>> On 11/2/07, Xavier Bestel <
<a href="mailto:xavier.bestel@free.fr">xavier.bestel@free.fr</a>> wrote:<br>><br>> > Le vendredi 02 novembre 2007 à 08:33 -0400, Chris McCreery a écrit :<br>> > > Thanks guys but still the same none descriptive error. I tried both of
<br>> > > the suggestions but no luck.<br>> ><br>> > Please describe the non-descriptive error.<br>> ><br>> ><br>> > --<br>> > [ Drupal support list | <a href="http://lists.drupal.org/">
http://lists.drupal.org/</a> ]<br>> ><br>><br>><br>><br>> --<br>> Chris McCreery<br>> --<br>> [ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br>><br>
--<br>[ Drupal support list | <a href="http://lists.drupal.org/">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Chris McCreery