Plain field text for field.tpl


/ Published in: PHP
Save to your folder(s)

for true plain text output of a field in drupal 7


Copy this code and paste it in your HTML
  1. <?php foreach ($items as $delta => $item) : ?>
  2. <?php print render($item); ?>
  3. <?php endforeach; ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.