I've migrated a blog to D7, but not all of the users. The content is now marked as being owned by Anonymous. Fine.

However, it's bad form (and grammar) to link to /blog/0 especially when Access denied is displayed on the link when you get there.

I had to create a view to find the anonymous content. I had thought I would be able to do that in core but couldn't find it.

The phrase Anonymous's blog should not be linked to, just like the user Anonymous should never be linked to.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Version: 7.x-dev » 8.x-dev
Status: Active » Needs review
FileSize
1 KB

This patch only adds the user's blog to the array if the uid does not equal 0.

It can be tested by creating a blog post as the Anonymous user and creating another blog post as a logged in user. It should show Home >> Blog for the Anon user's post and Home >> Blog >> user's blog for the logged in user.

deekayen’s picture

Project: Drupal core » Blog
Version: 8.x-dev » 8.x-2.x-dev
Component: blog.module » User interface
Tor Arne Thune’s picture

This issue should probably be moved back to Drupal core version 7.x-dev after it has been fixed here. It's a bug that should be fixed in Drupal 7 as well.

Tor Arne Thune’s picture

Project: Blog » Drupal core
Version: 8.x-2.x-dev » 7.x-dev
Component: User interface » blog.module

Let's face it, this issue wil not get much attention here. Moving to 7.x-dev of Drupal core, and I will make sure to move it back here if it gets fixed for D7.

dendritic’s picture

Version: 7.x-dev » 7.15

I was just searching for a way to fix this in 7.15. I used this CSS:

.node-blog li.blog_usernames_blog a[href="/blog/0"] {display:none;}

mgifford’s picture

Version: 7.15 » 8.x-dev
Issue summary: View changes

this should be looked at in D8.

mgifford’s picture

Status: Needs review » Needs work

The last submitted patch, 1: 1081556-01-anonymous-blog-link.patch, failed testing.

mgifford’s picture

Project: Drupal core » Blog
Version: 8.x-dev » 8.x-2.x-dev
Component: blog.module » Code

Moving from Core.

nevergone’s picture

Status: Needs work » Closed (outdated)

Outdated issue.