Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By teachy on
I am building a holiday destination site. I would like to add holiday destinations as one page, with all the info. I think I can use content-types and add fields.
I would like to create different pages that resprent aholiday type, for example honeymoon, surfing, family etcetra and I want to be able to add the page of a destination to different categories.
What would be the most effective way to do this?
Comments
You create the destination as
You create the destination as a content type with fields, as you thought. You then use the core taxonomy module, which is then attached as a field to the content type. The taxonomy module allows for categorization, and creates pages based on those categories.
As per your requirement
As per your requirement following contributed modules will be used :
1. views
2. term reference
3. Taxonomy menu
Structure:
1. Create a content type Holiday Destinations.
2. Create a taxonomy named as Destinations.
3. Create a new cck term reference field inside Holiday Destinations content type.
4. Create a new image field inside Holiday Destinations content type.
Configuration:
1. Using block set the taxonomy menu in any region.
2. Create all category under Destinations vocabulary.
2. Create pages of Holiday Destinations and select category using taxonomy term.
Once you have done with all pages then whenever user click on any category (which is lasted by using Taxonomy menu) it will show summery of all Holiday Destinations pages with read more link.