Solved

D7 - Combine fields in a multi value group

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

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

862 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now