Hi,
I tried everything but couldn't find a solution to my problem: I've created several node types, checked for each of them
- "Use this content type as a nodeprofile for users"
and
- "Integrate this node profile with user categories."
But only one of these nodes is displayed as tab on the User Profile edit page. Did I understood something wrong?

I've installed the actual versions of the subforms module, the usernode module and the nodefamiliy module. The nodeprofile version I use is the 5.x dev snapshot.

Thanks a lot!

Comments

deadbeef’s picture

There's an error around line 246 of nodeprofile.module:

the return $data; is misplaced inside the foreach(){..} so it breaks on the first iteration.

try to move that line outside the foreach() loop, to just before the break; statement.

olio’s picture

Status: Active » Fixed

Hey deadbeef,
you're my hero! :o))) Now everything works perfectly.
Thank you for your help!

jpetso’s picture

Status: Fixed » Active

olio, an issue like this one should only be marked as "fixed" when the fix has been committed to CVS, which is not (yet) the case. Reopening.

fago’s picture

Category: support » bug
Status: Active » Fixed

thanks, fixed in 5.x and HEAD.

dries’s picture

Status: Fixed » Closed (fixed)