Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
How to
In Views3, choose 'Format > Show > Grouped Fields' and give it the following wrapper config:
user/avatar: field_user_name, field_user_image
user/info: field_user_comments, field_user_rating
post: field_node_title, field_node_body
You'll get the following output, with fields HTML code inserted:
<div class="user">
<div class="avatar"> [field_user_name] [field_user_image] </div>
<div class="info"> [field_user_comments] [field_user_rating] </div>
</div>
<div class="post">
[field_node_title] [field_node_body]
</div>
Project information
- Created by kolypto on , updated