Solved

D7 - Combine fields in a multi value group

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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 create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

743 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

10 Experts available now in Live!

Get 1:1 Help Now