Drupal: Convert taxonomy term name to term id
Posted
by gigantorTRON
on Stack Overflow
See other posts from Stack Overflow
or by gigantorTRON
Published on 2010-04-30T01:44:47Z
Indexed on
2010/04/30
1:47 UTC
Read the original article
Hit count: 325
drupal
|drupal-views
Using 'taxonomy: term ID' as an argument in one of my Drupal views and I'm having trouble getting it to work correctly.
On the views administration page it states, "if using term name, it is generally more efficient to convert it to a term ID and use Taxonomy: Term ID rather than Taxonomy: Term Name."
How does one go about converting the term name from a URL into a term ID?
© Stack Overflow or respective owner