Optionally, replace the taxonomy links with article/ path on node teaser/view.

ilo - August 27, 2009 - 01:05
Project:Article
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:msameer
Status:closed
Description

To be able to link back to the category, I've coded a link_alter hook to replace all taxonomy/term/whatever link with article/whatever when viewing a node. I've included an option in the settings to enable this option (disabled by default).

Also, this patch fixes #234209: 'home' link in breadcrumb has one too many '/'.

If #560640: coding standards in article module. is commited first, this one should have to be refactored.

AttachmentSize
article_taxonomyto_article_links.patch2.38 KB

#1

ilo - August 27, 2009 - 01:06
Status:active» needs review

oops.. :)

#2

msameer - August 29, 2009 - 09:59
Assigned to:Anonymous» msameer
Status:needs review» fixed

Applied the taxonomy parts.

Please don't submit 1 patch with fixes for more than 1 bug.

Thanks.

#3

ilo - August 29, 2009 - 12:01

It was not my intention to solve the other issue in this patch, but to have the "breadcrumb" part solved, and that was a collateral damage :)

#4

msameer - August 29, 2009 - 15:46

Well, I completely forgot about the other bug but your patch reminded me.

Cheers,

#5

System Message - September 12, 2009 - 15:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.