Fix for Unable to print the filed title when it left empty while creating node

  1. <?php print $node->content['body']['#value'] ?>
  2. <?php if ($field_noderef_disorder_important[0][view]) {
  3.         print $node->content['field_noderef_disorder_important']['field']['#title'] &
  4.         print $noderef_disorder_important =  $field_noderef_disorder_important[0][view];}
  5. else {
  6.         print $field_noderef_disorder_important[0][view];
  7.         print $node->content['field_noderef_disorder_important']['field']['#title'] &
  8.         print $noderef_disorder_important = "These disorders are relatively common in this breed, and where possible, efforts are being made to eradicate them. These disorders seriously affect the health of your pet and may require medical or surgical intervention.
  9. none documented in this category";} ?>

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.