Solved

D7 - Combine fields in a multi value group

Posted on 2011-09-23
2
391 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

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…
This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

809 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