Closed (fixed)
Project:
Node Profile
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2007 at 13:45 UTC
Updated:
14 May 2007 at 20:41 UTC
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
Comment #1
deadbeef commentedThere's an error around line 246 of nodeprofile.module:
the
return $data;is misplaced inside theforeach(){..}so it breaks on the first iteration.try to move that line outside the
foreach()loop, to just before thebreak;statement.Comment #2
olio commentedHey deadbeef,
you're my hero! :o))) Now everything works perfectly.
Thank you for your help!
Comment #3
jpetso commentedolio, 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.
Comment #4
fagothanks, fixed in 5.x and HEAD.
Comment #5
dries commented