I'm templating (modifying the .tpl.php files) of a View which has a field with multiple outcomes. This can be controlled using the "Multiple field settings" options. (see screenshot)

How I can achieve more freedom in templating it's look and feel? I know I can edit views-view-field.tpl.php file but that doesn't help much because that file has only a single line of code!

<?php print $output; ?>

Any idea how I can edit/modify individual fields of a multiple-field?


Multiple Field in a View

  • the $output should be an array. Do a dpm($output) to see its contents. Then just look over the array and print the fields to your liking – uwe Nov 3 '11 at 16:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.