Return to Snippet

Revision: 61087
at November 27, 2012 14:45 by mktimes5


Initial Code
<div class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php if (!$label_hidden): ?>
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>:&nbsp;</div>
<?php endif; ?>
<ul class="field-items"<?php print $content_attributes; ?>>
<?php foreach ($items as $delta => $item): ?>
<li><?php print render($item); ?></li>
<?php endforeach; ?>
</div>
</ul>

Initial URL


Initial Description
out put a field with multiple values as a list fro styling purposes useing child selectors

Initial Title
Drupal & field-tpl for mulitple field rendering in a list

Initial Tags
drupal

Initial Language
PHP