Solved

D7 - Combine fields in a multi value group

Posted on 2011-09-23
2
395 Views
Last Modified: 2012-05-12
Hi,

In Drupal 7 there's a function when adding fields to a content-type where you can choose to allow multiple values to a field (like image).

What I want to do is combine 3 fields, 2 text fields and one taxanomy field into a some sort of group.
So in the image showing the admin page you'll have field 1, 2 and 3 on the same row.

Is there a way to do this, a module or a better way?

And also, when done I need to put this in a "Panel" or a "View" where i can rewrite the output of all three fields + every row as urls.

Please ask if you need more information.

/T
d7.PNG
0
Comment
Question by:Gudorian
2 Comments
 
LVL 10

Accepted Solution

by:
oliverpolden earned 500 total points
ID: 36585999
You want the field collection module:
http://drupal.org/project/field_collection
Which also depends on the entity api module:
http://drupal.org/project/entity

Enable field collection, which will also enable entity.

Then go to your content type.
Add a field of type Field-collection and set the number of values to unlimited.
Next, go to: Structure > Field collections
You will see the field you just created.  You can add fields to this as though the field collection was a standard content type.
0
 
LVL 2

Author Closing Comment

by:Gudorian
ID: 36586366
Thanks,

It works perfectly. Thanks for the help.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question