I'm trying to build a site for a local student radio station. To put it simple, the idea is an "one user - one blog" kind of site, where every user (radio show) has their own page containing some facts of the show with a blog underneath, where they can post 'news' and receive comments from the listeners.

After a couple of experiments with the core modules and other ones such as "bloginfo", I discovered CCK and really liked its ability to add custom fields to the content types (e.g. images). So far I've managed to create a user node and connect it to the user profile (using the CCK, usernode and nodeprofile modules). I've also created a new CCK content type for the blog entrys, with some custom fields apart from the usual title and body ones.

And now to my problem; I don't know how I should do to make each blog show up on the same page as each user profile. Basically I'd like to do what bloginfo does, but with two CCK content types instead of the bloginfo data and the predefined 'blog entry'.

Since Drupal is so flexible, I suppose there are some different ways to do this, all with their own pros and cons.

I really hope someone can help me out here. I'm kind of new to CMS site building, and not too cunning on PHP programming, so please keep it simple :)

Thanks in advance!

Comments

zilla’s picture

one idea (there are a few ways to go at this) - you could use aggregator to pull the feed for the user's blog into a block displayed on the user's profile (e.g. display block on only pages of type user/* - but you'd have to tweak that aggregator code to deliver user-specific aggregation

i'm not familiar with bloginfo module, will check it out, but i'm also on drupal6 so using 'content profile' module which is quite flexible (you can make *any* content type into a 'profile page' and it will appear as the user's profile, including cck fields and so on - but limits to one item of such atype, which won't work for blogs!

Standard’s picture

Thanks for the help so far! I'll give it a try today.

About the aggregator way; will the blog still have full functionality (posting new entrys, comments and so on)?

Are there any other options I should consider? The less PHP tweaking I need to do, the better (since I tend to get lost in the code quite often...).

Standard’s picture

Hi again

I managed to create the page by using the Views module, to show the CCK "blog posts" and CCK user profiles of each user. The views arguments really helped me here, and gave me really nice URLs to the different pages as well.

I'm moving on with my site now, so I'll probably show up here in a couple of days with more questions :)

Axel_V’s picture

Hi Standard,

it looks as if I've got a similar problem. I wonder if you could give me a few hints. I also would like to display user profiles (custom made with content profile module) and a list with blog entries of the respective user on one page. Ideally profile and blog entries would be listed under separate tabs.

I would like to know in more detail how you worked it out. I have to add that I'm not a programmer and I don't really know how to use the arguments. Is there an easy fix?

Thanks a lot,
Axel