Skip to content

ConceptFor site buildersDrupal CMS 2

An example content model

This page works through an example content model for a wine tour site. It puts the building blocks of Drupal CMS content together: four content types, three taxonomies, the relationships between them, and the views that turn them into pages.

The wine tour content model

Wine tour is the hub. It references Winery content and is categorized by the Wine region and Tour category taxonomies. Winery is categorized by Wine region and Wine type. Blog posts and testimonials both reference Wine tour content.

Solid lines are references between content items; dashed lines are taxonomy terms.

Represents an individual tour offered by the business.

FieldType
Tour nameText, plain
DescriptionText, plain, long
ContentFormatted text
Featured imageMedia
Tour durationText or Number, such as “2 hours”
PriceDecimal or Text
Availability datesDate range
RegionReference to the Wine region taxonomy
Tour categoryReference to the Tour category taxonomy
Included wineriesReference to Winery content, multiple values
Booking linkLink

Represents the wineries featured on the tours.

FieldType
Winery nameText, plain
DescriptionText, plain, long
ContentFormatted text
Featured imageMedia
LocationAddress or Geofield
Website URLLink
RegionReference to the Wine region taxonomy
Wine types offeredReference to the Wine type taxonomy

Shares updates, wine tips, or regional insights.

FieldType
TitleText, plain
DescriptionText, plain, long
ContentFormatted text
Featured imageMedia
Published dateDate
Related wine toursReference to Wine tour content

Showcases customer feedback.

FieldType
Customer nameText, plain
Testimonial textLong text
Related tourReference to Wine tour content
VocabularyExample termsUsed by
Wine regionNapa Valley, Willamette Valley, Sonoma, RiojaWine tour, Winery
Wine typeRed, White, Rosé, SparklingWinery
Tour categoryPrivate tours, Group tours, Weekend toursWine tour
ViewShowsFiltered by
Tour listing pageTour name, featured image, price, duration, booking linkWine region, tour category
Winery directoryWinery name, location, wine types offeredWine region
Featured blog sectionRecent posts on the homepage with title, image, and excerpt
Testimonial carouselTestimonials with their linked tours
Region pagesTours and wineries within one wine regionWine region
  • Create Pathauto patterns for SEO-friendly URLs: /tours/{tour-name}, /wineries/{winery-name}, and /blog/{blog-title}.
  • Use content moderation to manage drafts and approvals for blog posts and updates.
  • Create a Winery owner role with permission to edit only its own Winery content, so owners can manage their own listing.

Was this page helpful?

Drupal is a registered trademark of Dries Buytaert.