I have a new content type called hotel and have added a field called timing. For display in node.tpl.php, I can use field_view_value() but how do I get the value for the label. I know I can use the $content array, but is there a standard Drupal way or function to achieve it?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.