Solved

D7 - Combine fields in a multi value group

Posted on 2011-09-23
2
405 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

631 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