I have a text field attached to my node. The user can add an unlimited number of values.
I want to out put all the values as a HTML list in my node.tpl.php file.
Contemplate module suggests to use the following code to out put the field:
<?php print $node->field_body_list['und']['safe_value'];?>
This, however, has two problems: 1) It only outputs the first value of the field. 2) It uses UND, which is apparently bad.
I have tried using theme developer, but it doesn't produce any code that I can use in my node.tpl.php file.
Any help would be greatly appreciated it.