I have created a CCK node type to use as a user profile. Relationship is setup correctly.

But when I want to create a profile on behalf of a user, the profil is saved as related to the user that I am logged on as.

I am logged no as uid=1 and I want to create a profile (type called profile_data) for uid=3 so I enter the url /nodefamily/profile_data/3 and get the input screen. I fill it out and saves it.

But when I view the user profile for uid=3 no data is present, instead the data can be found when I view the user with uid=1

If I the try to create a new profie for uid=3 I get the error that no more instances can be created for this user.

Comments

fago’s picture

Status: Active » Closed (works as designed)

hm, yes.
The /USER-ID feature does only work for editing of existing profile nodes, not for creating new nodes. If you want to create a node manually you have just to set the correct author.
Or - as an alternative - use pageroute. With nodefamily's pageroute integration it works without manually setting the author.