Hi,

I've been looking through Drupal and particularly like the way the profile module works. I was wondering if there was a module in development (or perhaps already created?) that allows you to assign extra pieces of data to be created alongside stories/blogs. Basically, what I'm thinking of is a way that users can submit things such as their mood/what they're listening to and other things like that with their posts.

Also, something I've just thought of, perhaps I should put this under a new post?. When the main page is displayed, showing the last however many stories, it shows the authors name with a link through to their profile. Would it be difficult to display the users avatar (created by enabling the profile module) alongside the post?

Thanks in advance,
Romano

Comments

moshe weitzman’s picture

1. The recently committed node API lets module authors add fields above and below the main compose form. so it is now easy to write a mood.module which asks the author to select a mood just below the textarea for composing a story. this will work across all node types, or just those node types configured by the admin. the hook for this is _nodeapi() and the type is "form.pre" or something like that. i don't have the source in front of me.

2. polder.theme (CVS version) can show author avatars which click through to the profile. very nice indeed. see the Contrib repository