Create the dynamic module and its content types

This section describes all the required content types that you must create and demonstrates their hierarchy.

Content types relations

The following structure explains the hierarchy relations between the content types:

travelling agency1

Each country item can have child items of type Cities and Festivals. For example, the country Bulgaria can have several Cities - Sofia, Plovdiv, and Varna, and several Festivals - Festival of the Plum, Bansko Jazz festival.

Content type descriptions

You must first create a dynamic module named Travelling Agency. In the module you must create content types with the following content types and fields:

  • Country content type with the following fields:
    • Name of type Short text (required)
    • Description of type Long text
    • Location of type Address
    • MainPicture of type Related Media (required, with single image limitation)
  • City content type (child of Country) with the following fields:
    • Name of type Short text (required)
    • History of type Long text
    • Location of type Address
    • MainPicture of type Related Media (required, with single image limitation)
  • Festival content type (child of Country) with the following fields:
    • Name of type Short text (required)
    • Description of type Long text
    • From of type DateTime
    • То of type DateTime
    • Address of type Address
    • MainPicture of type Related Media (required, with single image limitation)
  • Hotel content type (child of City) with the following fields:
    • Name of type Short text (required).
    • Description of type Long text
    • WorkingHours of type Short text
    • Location of type Address
    • MainPicture of type Related Media (required, with single image limitation)
  • Restaurant content type (child of City) with the following fields:
    • Name of type Short text (required).
    • Description of type Long text
    • WorkingHours of type Short text
    • Location of type Address
    • MainPicture of type Related Media (required, with single image limitation)

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?