Posted By

lexx on 01/31/09


Tagged

drupal views


Versions (?)

Term Type Views - Taxonomy Argument


 / Published in: PHP
 

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

Provide default argument

  1. if ( arg(1) == 'term' && is_numeric(arg(2)) ) {
  2. $tid = arg(2);
  3. return $tid;
  4. }

Report this snippet  

You need to login to post a comment.