Return to Snippet

Revision: 4107
at October 24, 2007 15:45 by JuliaKM


Initial Code
<?php 
	$i = 0;
	$limit = count($field_field_of_interest);
	while ($i <= ($limit-1)) {
 		$tags[] = l($field_field_of_interest[$i]['view'], 	'taxonomy/term/'. $field_field_of_interest[$i]['tid']);
		$i++;
	}
if ($field_field_of_interest){
 print t("Fields of Interest") . ": " . implode(' | ', $tags);
	}
?>

<br />

<?php 
	$i = 0;
	$limit = count($field_professional_area);
	while ($i <= ($limit-1)) {
 		$tagsTwo[] = l($field_professional_area[$i]['view'], 	'taxonomy/term/'. $field_professional_area[$i]['tid']);
		$i++;
	}
if ($field_professional_area){
 print t("Professional Area") . ": " . implode(' | ', $tagsTwo);
	}
?>

Initial URL

                                

Initial Description

                                

Initial Title
Drupal Taxonomy Terms From CCK Taxonomy

Initial Tags
textmate, drupal

Initial Language
HTML