Blog List module patched to run on Drupal 6

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
citronica's picture

Someone posted a patch today for the long-dormant Blog List module. It generates a page or block with a list of all the blogs on your site (linked, of course).

See http://drupal.org/node/372153. As you'll see, there are a few quirks: the patch didn't apply perfectly to the .info file, and it needs a bit of styling, but it's likely to be very useful for multi-user blog sites.

Cheers,
Andrea

Comments

views?

wmostrey's picture

Wouldn't this be possible with a very simple view as well? You could create a page or a block with just one or two arguments.

how?

citronica's picture

I'm only a Views novice, so I wasn't able to pull this off. Here are the issues:

  • I only wanted to link to users with blog entries, and not to all users
  • I wanted to link to their blog page and not to their profile page

Could someone provide pointers on how to do that?

Thanks,
Andrea

Please show me

pkej's picture

Is there a way of doing this out of the box? I don't think so, I had to install views groupby to be able to make such a view. There is, for example, no way to make a user view and have a relation to nodes; so i have to use a node view.

Views

pkej's picture

Ouch, that wasn't immediately realizable in a default install.

I think I only could do this by including the "views groupby" module.

I've attached a view which does what you need, be sure to install the module.

Gripes: I can not get the list to show the title of the last post. You can get around that by adding a cck_view_reference to a view showing only the link to the last post of the blogger to the Blog content type, and not show it in teaser and body, and then show that field in the view I made.

I only made a page for the view.

Edit 1: I haven't tested it on an actual site with multiple blogs ;) Didn't even bother to create fake users and blog posts.
Edit 2: It will only show blogs which have had posts which have been published, that is by design; it is not a good user experience to go to pages where there is nothing.
Edit 3: On that same note as the last sentence above, I would go for the views reference field, so that the user can see what the last post of the blog is. It could be good for your blog pages as well to have that visible, so that users can see what is the latest.
Edit 4: That it links to the last node of the user is probably because the last node in sequence per user is the last node they made. If, however, they make some drafts, and publish a new node before publishing the draft, I'm pretty sure my view will show an older post as the latest. If I tried to add an argument for sorting on node publish date, the view will create two lines per blog, not what we want, so don't try additional sorting.

Multi-user blogging

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: