Revision: 24180
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 22, 2010 22:14 by aleprieto
Initial Code
<?php if ($terms): ?> <?php /* sort taxonomy links by vocabulary 27 */ $terms27 = taxonomy_node_get_terms_by_vocabulary($node->nid, 27); if ($terms27) { print '<div class="terms">Forums: '; foreach ($terms27 as $key => $term27) { $lterm27 = l($term27->name, 'taxonomy/term/'.$term27->tid); print $lterm27.' - '; } print '</div>'; } ?> <?php endif; ?>
Initial URL
http://urlgreyhot.com/personal/weblog/drupal_tip_5_displaying_terms_by_facet_vocabulary
Initial Description
Initial Title
Displaying terms by facet (vocabulary)
Initial Tags
drupal
Initial Language
PHP