I do not have much experience with Drupal but I have a question. I have a content type Hotels with general information about the hotel but also with a field country and country information. I was thinking to make a content type Country with fields like country information (country Name (England), country description (England is an island), map (googlemaps). So when I have to add 10 hotels in the same country I do not have to write the same country information again and again. I want to combine the content type HOTEL and COUNTRY but I really don't know how to do it?

  • Your acceptance rate is at 0%. Consider accepting the best answers for the questions you posted so the help you received can help others. You may also upvote the answers you deem relevant / helpful. YOu can find more details of how this community ticks in the awesome faq page. Well worth reading. Thanks! – stefgosselin Apr 25 '12 at 18:13

Set up two content types, "Hotel" and "Country" and use the Entity References module to define a relationship between the two. Then configure it to display a "Rendered entity" formatter, that renders the references entity using a configurable view mode

| improve this answer | |
  • Thank you for the response but in the taxonomy for the country are different items then just text. There will be a country Name (England), country description (England is an island), map (googlemaps) And i don't know if this is possible with taxonomy. – Niels Nov 24 '11 at 21:41
  • Ah makes sense now. I have edited your question to further clarify what you are trying to accomplish and have edited my answer to better provide a solution. – user842 Nov 24 '11 at 21:58

For addresses you could use the location or addressfield modules. That will help you don't the road when you integrate with other modules, like gmaps.

The references module is a another good option.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.