views:

50

answers:

0

Hi Trying to figure out how to get taxonomy term id from ubercart catalog page. It looks like ubercart catalog system does not support "native" drupal structure "taxonomy/term/id"

I've used this snippet as argument for block provided by Views module

if (arg(0) == 'taxonomy' && is_numeric(arg(2))){
  return arg(2);
} else {
  return FALSE;
}

but it does not work anymore.

Thanks for advice.