Hello,
I have created a custom node.tlp.php.
If I spend a value of a field is always displayed. Even if it is set to not be visible.
If I spend it so, it is always displayed.

<?php
$field_code = $node->field_code['und']['0']['value'];
?>
<?php print $field_code;?>

If I spend it so it works.

<?php print render($content['field_ code']); ?>

But I need only "value" from the field, not with div.

Can someone help me?

Comments

Fianko’s picture

Assigned: Fianko » Unassigned
bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Field Permissions does not support Drupal 7.