I really appreciate the additional features provided by usernodes. But I am at a loss as to how to control the display of the usernode fields within the user profile. I've read a bunch of stuff about including the div class "fields" from $user, but I'm not able to figure out which fields are generated from the usernodes module. As you can probably tell, I am a beginner at using drupal... I've been working at learning drupal over the last four months, and still quite confused!
So if you could include the field names and how to theme them with phptemplate in the readme file, it would sure make the user profile look a whole lot better. I'm just really at a loss here and am hoping I can get some direction on theme layout for this module on the user profile page.
Comments
Comment #1
Coyote commentedHmmm... usernodes doesn't actually create any fields. All it does (currently) is create a display, in the user profile pages, of nodes that have been created by the user (of particular types). It doesn't really change the user's profile info - it just provides display of nodes the user has created of given types (in addition to doing things like limiting the number of nodes of a certain type the user is allowed to create, if that setting has been used.)
Comment #2
creatorsdream commentedSo, are you saying that there is no way to control the theme/placement of this new information on a user profile? I've read where we can theme the user pages with phptemplate and create a user_profile.tpl.php which then controls the layout of the content. Can I not use the info your module is providing and have it placed in user_profile.tpl.php?
Comment #3
Coyote commentedTo be frank, it's that I haven't worked closely with doing this, so I simply don't know how to do it.
I'll _probably_ have to do this very thing in the very near future, however. ; )
My initial intent, actually, was to try and create a simple way for non-programmers and non-template creators to have control over the layout of usernodes - I'd like to be able to have a tabbed interface available for different profile areas, and I'd also like to allow some control over where the usernodes info appears on these tabs (or without tabs, on the user page).
Comment #4
creatorsdream commentedIt would be great if you could refine the display of the information usernodes is generating! I'm waiting with baited breath!...
May I suggest that you provide a way that the variables can be captured and give the ability for the theme designer to display the information the way they want to using phptemplate.
Thanks for your work on this module!