New feature to force glossary links to output to the core taxonomy term link

smaier - February 20, 2009 - 22:01
Project:Glossary
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I am building a site that needs to automatically create hyperlinks for certain words in the pages body. For example, every occurrence of the word "impeller" in the pages body needs to be hyperlinked to a node or view of impellers. Glossary and taxonomy_redirect come 99% of the way to being able to do this.

The problem I have is that, by design, glossary will output the hyperlinks to /glossary/term/id if the term is not associated with any node. However, I need it to always output to /taxonomy/term/id so that taxonmony_redirect can rewrite the hyperlink to point to the node or view that I want shown.

I created the following patches to add a new option to the General Tab of the Glossary Settings tab and to force Glossary to write the hyperlinks to the taxonomy term.

AttachmentSize
glossary.admin.inc.patch686 bytes
glossary.module.patch541 bytes

#1

smaier - February 24, 2009 - 13:39
Assigned to:smaier» Anonymous
 
 

Drupal is a registered trademark of Dries Buytaert.