Hi!
I would like to use the module login_destination to point users which haven't compile a profile (which I set up using node profile) to its completion (which I set up using pageroute). All I need is a php code snippet which from the user variable derives the existance of a node profile authored by him. How can I do that?
Comments
Comment #1
fagojust try to load the node...
$node = node_load(array('type' => ... , 'uid' => $user->uid));
$node will be null if there is no such node.
Comment #2
(not verified) commentedComment #3
redsun82 commentedThanks!!!!