Term Type Views - Taxonomy Argument

/ Published in: PHP
Save to your folder(s)

I wanted to show a block of the current taxonomy term info (desc, name, img) in Drupal 6 views 2

Provide default argument

Copy this code and paste it in your HTML
  1. if ( arg(1) == 'term' && is_numeric(arg(2)) ) {
  2. $tid = arg(2);
  3. return $tid;
  4. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.