Hi there,

I'm working with a data set for a real estate site that would include 3 variables for every room. It indicates the room size, type and location in the house. Now the way the feed from the real estate board is configured each room has 3 fields in the data base for each variable.

For example for room 1 I would have a room 1 type, room 1 location and room 1 size field.

Is there a way to structure this module to allow me to define a common header and then organize the fields in such a way that they would line up under the appropriate heading?

Essentially I want to have a 3 column table with multiple rows, that would have Type in column 1, location in column 2 and size in column 3.

Any suggestions or tips on how to accomplish this?

Cheers,

Comments

brankolo’s picture

Issue summary: View changes

it would be very useful, because i can't find an other module does it

droddis’s picture

I'm not sure if this will help but I ended up creating an HTML table as a custom display suite code field and inserted the tokens for the fields I wanted to combine. It's a bit of a manual hack but it provides the layout I want, without having to try and manipulate something else.

The use of the field tokens means it's repeatable for new content etc. Sample code below.

Room type House Level Room Size
[drealty_listing:field-room1-type] [drealty_listing:field-room1-level] [drealty_listing:field-room1-size]
[drealty_listing:field-room2-type] [drealty_listing:field-room2-level] [drealty_listing:field-room2-size]
[drealty_listing:field-room3-type] [drealty_listing:field-room3-level] [drealty_listing:field-room-3-size]
[drealty_listing:field-room-4-type] [drealty_listing:field-room-4-level] [drealty_listing:field-room-4-size]