I needed a simple module like this so I ported it to drupal 6.
I also needed a block output so I abstracted the query and sent everything through theme_table as well (to conform with drupal standards).
both the page and block uses the same output.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | blog_list-6.x-dev.tar_.gz | 1.67 KB | mradcliffe |
| #3 | blog_list_cvs.patch | 3.75 KB | mradcliffe |
| #3 | blog_list-patched.patch | 1.69 KB | mradcliffe |
| blog_list.patch | 3.46 KB | mradcliffe |
Comments
Comment #1
citronica commentedThank you!! My timing seems to be very good, because today was the first time I looked at this module, and suddenly there was a brand-new D6 patch ready and waiting.
I had a little trouble applying the patch though... it worked fine on blog_list.module but it failed on blog_list.info, so I made those changes by hand. Here's what happened:
But broadly speaking, it works! I'll tell the Drupal Multi-User Blogging Group about this :-)
Best wishes,
Andrea
PS: Don't let me stop anyone from reviewing the code... I'd do it myself if I knew how.
Comment #2
citronica commentedHmm, now this is odd.
I have a page view called "Latest Blog Entries", which shows teasers of the ten most recent blog posts, and it uses a pager at the bottom. The Blog List block is in the sidebar of that page.
When I added more than ten blog entries, the pager showed up at the bottom of the Latest Blog Entries page, as I expected, but it also shows up at the bottom of the Blog List block! And when I go to mysite.com/blog to see the Blog List page, the pager is there as well. I only have four blogs listed, and when I click on the "Next" button I get an empty list which only has the "User" heading on top.
Comment #3
mradcliffeThat's my fault. I added the pager to the block thinking it would work, and that's not possible in drupal. :)
blog_list-patched.patch patches you from the previous patch to the fix.
blog_list_cvs.patch is a full patch from blog_list cvs.
Comment #4
tsi commentedWill someone please publish the pached files ?
Not so good at patch work :-(
Thanks.
Comment #5
fpatten commentedI Second this. I tried with the instructions posted here http://drupal.org/node/60818 but kept getting the fail error.
The module will not load in Drupal at all.
Comment #6
mradcliffeI just did the following:
No problems. Attached.
Comment #7
tsi commentedThanks ! works for me.
Comment #8
fpatten commentedTried this version. The module was loaded but I error when trying to load the page.
Comment #10
vladsavitsky commentedTo have a list of bloggers you can use simple module Bloggers for Drupal 6.
Module show a list of bloggers and X their last blog posts titles.