I am trying to create a custom field that is visible in node/*/edit which is bindded with the node that I am editing. The value should be stored in DB. I want to call that field value from a php code in page.tpl.php.

Is there a module or someway that I can accomplish this? I would appreciate some feedback

Comments

werushka’s picture

I used cck fields and I am using

<?php print t($node->field_my_field[0]['view']); ?>

..in my page.tpl.php to get the field value BUT i need to hide the accurance of the field value in main content area?

werushka’s picture

i solved it with display field module