advanced code snippet search
JuliaKM on 08/30/07
textmate drupal taxonomy
08/30/07 02:07pm
3 people have marked this snippet as a favorite
basicmagicWimLeerskellyharding
<?phpif (arg(0) == 'taxonomy' && arg(1)=='term' && is_numeric(arg(2))) { $terms = taxonomy_get_term(arg(2)); }?> <pre><?php echo $terms->name ?></pre><pre><?php echo arg(0); ?></pre><pre><?php echo arg(1); ?></pre><pre><?php echo arg(2); ?></pre>
Report this snippet Tweet
Comment:
You need to login to post a comment.