Version:

    Adding a template selection field for editors

    You can provide a template selection field for website editors to select the template they want to use. You can add the template selection field to different types of content. The steps below are for the most common application, adding a template selector to Content types but the process is the same for all.

    To add the template selection field:

    1. Navigate to Structure > Content types > (Content type name) > Manage fields
    2. Click on + Add field
    3. In the Add a new field drop-down select Template selector
    4. In the Label field enter the name Template
    5. Click Save and continue
    6. On the next screen, within Default value select Default
    7. Click Save settings.

    When the Template selection field is added to a Content type, Site Studio will automatically place it within the publishing settings area of the content editing screen (See below). On other content entity types, the Template selection field will be placed in the form with your other fields.

    Selecting a template when creating content

    To select a template when creating a node:

    1. Edit a node
    2. Click Template in the tabbed settings area
    3. Select the template to use.

    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.