Skip to main content

I'm using Drupal 7. A lot of our stuff has uris formatted like site/taxonomy/XX, where XX is an integer.

I found a lot of questions like "how to get the TID from the name?", but I'd like to get the name from the TIDTID. I'm trying to put together a breadcrumb script and everything is great except for these cases where I'm getting a trail like "home > term". Instead I want to have it like "home > <TERM NAME>".

How can I do so?

I'm using Drupal 7. A lot of our stuff has uris formatted like site/taxonomy/XX, where XX is an integer.

I found a lot of questions like "how to get the TID from the name?", but I'd like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases where I'm getting a trail like "home > term". Instead I want to have it like "home > <TERM NAME>".

How can I do so?

A lot of our stuff has uris formatted like site/taxonomy/XX, where XX is an integer.

I found a lot of questions like "how to get the TID from the name?", but I'd like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases where I'm getting a trail like "home > term". Instead I want to have it like "home > <TERM NAME>".

How can I do so?

Remove (a lot of) noise, and improve format (eg to make <TERM NAME> be shown)
Source Link

Get How to get taxonomy term name from tid?

I've looked at a few answers and maybe i'm just a little too green to understand the answers given. So I thought I'd ask for the most simple way to do thisI'm using Drupal 7. I was kinda just dropped onto a drupal project and I had noticed that aA lot of our stuff has uris formatted like "site/taxonomy/XX" (wheresite/taxonomy/XX, where XX is an integer).

I found a lot of "how to get the TID from the name"questions like "how to get the TID from the name?", but I'd really like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases where I'm getting a trail that reads "home > term" and I'd really like "home > term". Instead I want to have it read "home >like "home > <TERM NAME>".

Sorry if this is a super noobish question, butHow can I figure the risk is worth the reward ;P

thanks in advance, Brodie

[edit] oops forgot to say using drupal 7do so?

Get taxonomy term name from tid

I've looked at a few answers and maybe i'm just a little too green to understand the answers given. So I thought I'd ask for the most simple way to do this. I was kinda just dropped onto a drupal project and I had noticed that a lot of our stuff has uris formatted like "site/taxonomy/XX" (where XX is an integer).

I found a lot of "how to get the TID from the name" but I'd really like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases I'm getting a trail that reads "home > term" and I'd really like to have it read "home > ".

Sorry if this is a super noobish question, but I figure the risk is worth the reward ;P

thanks in advance, Brodie

[edit] oops forgot to say using drupal 7

How to get taxonomy term name from tid?

I'm using Drupal 7. A lot of our stuff has uris formatted like site/taxonomy/XX, where XX is an integer.

I found a lot of questions like "how to get the TID from the name?", but I'd like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases where I'm getting a trail like "home > term". Instead I want to have it like "home > <TERM NAME>".

How can I do so?

Tweeted twitter.com/#!/StackDrupal/status/227442060951707648
added 45 characters in body
Source Link
Brodie
  • 521
  • 1
  • 4
  • 9

I've looked at a few answers and maybe i'm just a little too green to understand the answers given. So I thought I'd ask for the most simple way to do this. I was kinda just dropped onto a drupal project and I had noticed that a lot of our stuff has uris formatted like "site/taxonomy/XX" (where XX is an integer).

I found a lot of "how to get the TID from the name" but I'd really like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases I'm getting a trail that reads "home > term" and I'd really like to have it read "home > ".

Sorry if this is a super noobish question, but I figure the risk is worth the reward ;P

thanks in advance, Brodie

[edit] oops forgot to say using drupal 7

I've looked at a few answers and maybe i'm just a little too green to understand the answers given. So I thought I'd ask for the most simple way to do this. I was kinda just dropped onto a drupal project and I had noticed that a lot of our stuff has uris formatted like "site/taxonomy/XX" (where XX is an integer).

I found a lot of "how to get the TID from the name" but I'd really like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases I'm getting a trail that reads "home > term" and I'd really like to have it read "home > ".

Sorry if this is a super noobish question, but I figure the risk is worth the reward ;P

thanks in advance, Brodie

I've looked at a few answers and maybe i'm just a little too green to understand the answers given. So I thought I'd ask for the most simple way to do this. I was kinda just dropped onto a drupal project and I had noticed that a lot of our stuff has uris formatted like "site/taxonomy/XX" (where XX is an integer).

I found a lot of "how to get the TID from the name" but I'd really like to get the name from the TID. I'm trying to put together a breadcrumb script and everything is great except for these cases I'm getting a trail that reads "home > term" and I'd really like to have it read "home > ".

Sorry if this is a super noobish question, but I figure the risk is worth the reward ;P

thanks in advance, Brodie

[edit] oops forgot to say using drupal 7

Source Link
Brodie
  • 521
  • 1
  • 4
  • 9
Loading