Hi!
I would like to begin work on the Drupal 6 version of Blog Information as I need it for an upcoming project, and I believe a lot of 5.x to 6.x upgraders do as well.

I have contacted Mfer regarding this and he has agreed to let me run with this.

This issue is being created to let everyone know that Mfer has agreed to this.

-jayson

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mfer’s picture

This will be a good thing since I don't have time to do the update anytime soon.

mfer’s picture

FYI, I'm going to list jaysonng as a co-maintainer so that he can effectively port this module to drupal 6 and so the module can have effective maintainer-ship.

gdevlugt’s picture

FileSize
6.57 KB

Hi,

I ported this module to Drupal 6 this afternoon. Attached to this comment is a patch for the CVS HEAD version.

Besides porting, the module will also set the title of the blog front page to the bloginfo title.

Hopefully the port works fine for you. The porting only required some small changes, and I tested it on my sandbox install, but what I didn't test are the database update hooks (in case you're upgrading from Drupal 5, using an older bloginfo version).

gdevlugt’s picture

FileSize
8.26 KB

Attached to this comment is a newer version of the port in comment #3 adding the following:

- Use blog title and description in rss feed
- Use blog title in node links

Code still needs to be tested so if you find something, please reply.

mfer’s picture

@gdevlugt - Thanks for your work. Unfortunately it will be a number of weeks before I can really look at this.

mfer’s picture

Status: Active » Needs review
gdevlugt’s picture

FileSize
8.92 KB

@mfer: No problem. I did find something I forgot to add in the patch and fixed the behaviour of the title field not being shown if empty. See attached patch.

level02’s picture

Unable to patch. I tried on a fresh 6.x install and bloginfo table is not created. Also tried an upgrade from 5.x-2.4 and ended up with a white screen. Of all 3 patches the most successful was the first one (after editing bloginfo.info which failed the patch each patch) and went to the edit user page and the Blog Title and Description text fields were there but after entering text and saving I got a white screen. This was on the fresh install and there was no bloginfo table so that has something to do with it. And after upgrading the whole site is white screen.

But here's what I get from patching:

patching file bloginfo.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file bloginfo.info.rej
patching file bloginfo.install
patching file bloginfo.module

bloginfo.info.rej looks like:

***************
*** 1,4 ****
  ; $Id: bloginfo.info,v 1.4 2007/04/02 01:11:34 mfer Exp $
  name = Bloginfo
  description = Blog title and description.
- dependencies = blog--- 1,5 ----
  ; $Id: bloginfo.info,v 1.4 2007/04/02 01:11:34 mfer Exp $
  name = Bloginfo
  description = Blog title and description.
+ dependencies[] = blog
+ core = 6.x
Moscow’s picture

Hello guys,
I wonder if it is possible to find a PATCHED file for D 6.x? (not very good at patchwork).

jng12’s picture

FileSize
8.45 KB

Hi guys. it's me again.

I'm not too good at patchwork either and am not too happy with having to use blocks to change the title.

so after some work, I've got a version of bloginfo that so far is working for me.

This version does not use templates or blocks. it changes the title of the blog a user is in. you set the title per user at user/%uid/bloginfo.

please try it out.

this is a totally different off shoot from what gdevlugt was working on. I reworked everything from the ground up with references from the original code mfer did.

-jayson

Moscow’s picture

Hello jng12,
Cool stuff! It seems to be working fine. The only thing that can be good to have here is to force blog title to appear as a page title and blog title (at the top of the node, when you go to this blog).

Thanks.

it's me again. I noticed that on the front page the bread crumbs now show the path to the blog for which I added the title. It should be: Home, but instead: Home > Blogs > The most interesting blog on Earth.

jng12’s picture

Hi Moscow!

Wow, it's been a while. Sorry but I didn't seem to get your comment on my email so I didn't notice it.

I will look into this.

-jayson

yettyn’s picture

FileSize
10.91 KB

here is bloginfo for 6.x in full based on gdevlugt's patch, which is the one that following the path of the original 5.x version. I want to point out this as the one posted by jng12 is not quite the same as origine and may not be suitable for upgrade (I haven't tested this scenario though).

After applying the gdevlugt patch I ran the lot though Coder and have done some minor corrections as well. As far as I been able to see this version works w/o problem on Drupal 6.3

I would also like to ask mfer here about http://drupal.org/project/profile_blog_info, if this is a module you see as a further development of the bloginfo concept? I do see a usefulness for both modules but maybe you would like to elaborate on your thinking as both modules are your but you like to leave this one behind?

mfer’s picture

Well, I've left this one behind because I'm not using it in any capacity nor do I have the time to maintain it.

The Profile Blog Info module is very different than this one. It's another aggregator setup for personal blogs. This module is designed to give on site blogs a title and description.

That one I was contracted to write and have a personal site I run that's going to use it.

Does that help?

jng12’s picture

yettyn,

I tried your bloginfo6.zip module and my menus disappeared! not even when I uninstalled the module did it return. it's totally gone now.

:O I have a custom menu and the navigation menu. both are gone.

any idea why?

-jng12

edit:
I've checked and the problem probably isn't with bloginfo. :D sorry about that. Still figuring out why my menus disappered though.

yettyn’s picture

Status: Needs review » Fixed

The first dev release for D6 have been released so closing this one. If something spesific with the release please open a new issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.