Creating a journal on a user's profile

scarer - May 18, 2007 - 05:54

How do I create a journal on a person's profile? I would like to integrate something similar to livejournal on each user's profile.

Any help would be much appreciated.

Thankyou :)

Sarah

It shouldn't be too hard.

coreyp_1 - May 18, 2007 - 06:59

It shouldn't be too hard. Then again, I've never used LiveJournal. :)

You could create a new content type (called 'journal', perhaps?). Use the Views module to create a view that will list the view for a particular uid. Include the View into the person's profile page.

You can include the view a couple of ways. You could (1.) include it using php using standard theme override procedures, or (2.) make the view show up in a block, and set the block to show up in the content area (below the content preferrably). For the second option, you may still need to customize your themable regions if they are not flexible enough.

You'll probably have to play around with this to get it like you want it, but rest assured that Drupal is well capable of doing what you asked.

- Corey

is there a module that is a journal type?

scarer - May 22, 2007 - 23:44

Hi, thanks for that. Just wondering, is there a module for a journal in Drupal? I don't want to use the blog as I'm using this for something else and I don't really want to have threads I just want a personal journal i.e. comments that the user posts that appear on their profile.

Any help would be much appreciated.

Thankyou.

Sarah

There's not a "journal"

coreyp_1 - May 23, 2007 - 01:10

There's not a "journal" module that I know of, but if you enable the content module, you can create a new node type and call it "Journal". You can then use Views to give you a block with the most recent comments, etc. Also, with the content module enabled, you can begin downloading and enabling CCK modules that will extend what the nodes are capable of. You'll just have to experiment, and see what works best for you.

It's not an "out of the box" solution, but it's not difficult to do, either. The advantage to this solution is that you are not boxed in by someone else's journal design... You can make it whatever you want!

- Corey

I worked it out :)

scarer - May 23, 2007 - 01:08

Thanks for your advice. I worked it out with a new input type and some custom php in the user template :)

Thankyou for your help!

Cheers,

Sarah

Try the blog module. It's

joachim - May 21, 2007 - 08:08

Try the blog module. It's part of core IIRC.
You'll get a link on each profile to that user's blog.

 
 

Drupal is a registered trademark of Dries Buytaert.