Needs review
Project:
Content Construction Kit (CCK)
Version:
6.x-2.2
Component:
userreference.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 May 2009 at 16:52 UTC
Updated:
26 Dec 2010 at 13:47 UTC
Comments
Comment #1
muschpusch commentedHey,
i would need same functionality could you provide a patch for the current CCK version?
thanks Volkan
Comment #2
filpet commentedYes please,
i need this functionality too!
The old patch does not work with the new version!
Kindly,
Peter
Comment #3
muschpusch commentedI found another way to do this... Just add custom code to the default value of your CCK reference field:
global $user;
if($user->uid!=1){
return array( 0 => array('uid' => $user->uid) );
}
else return array();
Comment #4
mogop commentedbut still shows other users.
any way to show only UID which is creating the node?