0

I inherited a development theme and I am a Drupal newbie. I don't seem to be able to print out any new fields that I add to my content types. I put this code in node.tpl.php:

<?php echo render($content['field_my_text']);?>

I have the corresponding name in my content type. Any ideas on what could be going wrong?

Thanks!

1
  • 2
    I figured it out. The new field was initially set to hidden inside the manage display tab of the "full content" (instead of the default). Jun 16, 2014 at 23:32

1 Answer 1

0

I figured it out. The new field was initially set to hidden inside the manage display tab of the "full content" (instead of the default).

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.