external taxonomy links

Events happening in the community are now at Drupal community events on www.drupal.org.
alexpmclaughlin's picture

Hi,

Is it possible to link tags in a vocabulary to external content, rather that it being limited to content within my site?

I am still new to drupal, any help here would be much apreciated :)

Many thanks

Alex

Comments

Google...

DeeZone's picture

Google is your friend, try searching for "drupal category link to external URL".

The Link module (http://drupal.org/project/link) looks like a possible. Depending on the version of Drupal you're using (always include this info when you ask how-to questions) the solution could take several different forms.

oh okay thanks, i will bear

alexpmclaughlin's picture

oh okay thanks, i will bear that in mind next time. I am currently using drupal 7.7.

No worries...

DeeZone's picture

No worries, I'm just trying to help you find the resources you're looking for. Posting questions in Drupal.Groups might not always work.

In terms of Drupal 7.7 and linking a category term to an external URL. I would:

  1. Add the Link module as detailed in my orginal reply above
  2. Add a custom field to the category term admin/structure/taxonomy/category name/fields of the type Link
  3. Customise the term output / markup to make the term link on a node page point to the link field value rather than the default taxonomy term listing page.

This is my solution, of course there's always more than one way of achieving the same results in Drupal - that's the magic! If you happen to find another method please post it here so others can enjoy your efforts. If you find yourself stuck please ask more questions but not after doing a few Googe searches :)

thanks so much for the help

alexpmclaughlin's picture

thanks so much for the help :)

that worked perfectly

A

Fantastic, can you please...

DeeZone's picture

That's fantastic, can you please post an example of the code you did to do step 3:

Customise the term output / markup to make the term link on a node page point to the link field value rather than the default taxonomy term listing page.

This way other people who find this page will have a good reference to work from - thanks.

Yes please, I don't

nathan tsai's picture

Yes please, I don't understand it and I need it. Can you provide a more complicated answer?

Taxonomy

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: