Work on Drupal 6 version

jng12 - February 24, 2008 - 06:32
Project:Blog Information
Version:7.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

mfer - February 24, 2008 - 13:51

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

#2

mfer - February 26, 2008 - 01:26

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.

#3

gdevlugt - March 11, 2008 - 17:49

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).

AttachmentSize
bloginfo-port-d6.patch 6.57 KB

#4

gdevlugt - March 11, 2008 - 18:32

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.

AttachmentSize
bloginfo-port-d6-2.patch 8.26 KB

#5

mfer - March 11, 2008 - 20:11

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

#6

mfer - March 11, 2008 - 20:11
Status:active» needs review

#7

gdevlugt - March 11, 2008 - 22:54

@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.

AttachmentSize
bloginfo-port-d6-3.patch 8.92 KB

#8

level02 - March 20, 2008 - 18:39

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

#9

Moscow - June 11, 2008 - 10:37

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

#10

jng12 - June 17, 2008 - 19:27

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

AttachmentSize
bloginfo.zip 8.45 KB

#11

Moscow - June 18, 2008 - 18:01

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.

#12

jng12 - July 18, 2008 - 13:24

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

#13

yettyn - August 10, 2008 - 10:50

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?

AttachmentSize
bloginfo6.zip 10.91 KB

#14

mfer - August 11, 2008 - 12:36

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?

#15

jng12 - August 28, 2008 - 19:52

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.

#16

yettyn - October 17, 2008 - 15:43
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.

#17

Anonymous (not verified) - October 31, 2008 - 15:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.