Are you looking for the latest documentation?

Documentation for Acquia Cohesion V6.0 onwards has moved to https://cohesiondocs.acquia.com

    Content templates

    You can use DX8’s Layout builder to create content templates for:

    • Content types
    • Custom block types
    • Taxonomy vocabularies
    • Contact forms
    • Comment types
    • Users
    • Custom content entities*

    Each of these types of content can have multiple View modes. For example, the Article content type has a Full view mode and a Teaser view mode.

    The Full view mode is typically used when the content is displayed on its own page. The Teaser view mode is a short format that is typically used to display a list of content items.

    When you create content templates, you’ll create them for View modes. For example, you can create a template for the Article full view mode and a template for the Article teaser view mode.

    This is illustrated in the diagram below.

    Content-entities-templates-relationship.svg

    For more information see: 

    *You can create templates for custom content entities or ones provided by contributed modules but you will need to implement hooks to make this work. This is a task for a Drupal developer. For more information, see Implementing hooks for custom content entities.

      DX8 knowledge base icon

      Frequently asked questions

      Get instant answers to common questions. Available online 24/7.

      Find answers

      Raise a ticket icon

      Raise a support ticket

      To raise a ticket, sign into Acquia Cloud and select Help in the top menu.

      Raise support ticket

      Acquia

      Copyright © 2020 Acquia, Inc. All Rights Reserved. Drupal is a registered trademark of Dries Buytaert.