Since I use pathauto 5.x-2.0, the url of the feed generated by og_ghp_ron view (og module), is node/123/feed instead of community/123/feed.

NB:

  • The previous version of pathauto I used was 5.x-1.2.
  • I have defined in http://.../admin/settings/pathauto the following pattern value for community paths: community/[nid].

Does anyone have already noticed something like this?

CommentFileSizeAuthor
#2 support_node_feeds_again_216245.patch1.09 KBgreggles

Comments

greggles’s picture

Title: Pathauto upgrade and og_ghp_ron feed » Add back the node feed support - it's used by og among others
Category: support » bug

Well, in the upgrade process I got rid of support for the "node feed" aliases - http://drupal.org/node/167764 - the consensus was that they were unnecessary and more often a source of problems than a benefit.

Now that I hear about this...I guess it makes sense to add them back. It's a fairly simple fix. Do you think that is a valid explanation of your problem and, if so, can you help testing a patch?

Thanks.

greggles’s picture

Status: Active » Needs work
StatusFileSize
new1.09 KB

Here's a patch. To get it working - apply the patch to your pathauto_node.inc and then visit admin/settings/pathauto and enable feed aliases for nodes.

I'm marking it "needs work" because a final solution would also remove the function in pathauto.install that deletes the pathauto_node_supportsfeeds variable.

greggles’s picture

@sdelbosc - can you test this?

sdelbosc’s picture

Really sorry for my lack of reactivity!

I have tried your patch and it solves the problem.

Thanks a lot.

greggles’s picture

Status: Needs work » Fixed

I accidentally committed that first patch this morning and have now removed it from the install as well.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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