I am trying to add the option to view cck fields when logged in as admin and editing content using the default page-admin.tpl.php

I am using the following:

      <div class="banner"> <?php print $node->field_image_header_section[0]['view']; ?>
    <div class="section_head_title"><?php print $node->field_section_head_text[0]['value']; ?>
    </div>
    </div>         

When I view the page in edit mode I do not seem to be able to view the output associate with that node i.e. field_image_header_section[0]['view'] and ?php print $node->field_section_head_text[0]['value'];

Comments

2dareis2do’s picture

Actually it is not page-admin.tpl.php but rather page-node-edit.tpl.php