Installing the Page content type
- Run
composer require -W drupal/acquia_cms_page
to install the module in your application codebase. - Do one of the following to enable the module:
- Go to the Extend menu of the administrative panel, and search for
acquia_cms_page
. - Run
drush en acquia_cms_page -y
.
- Go to the Extend menu of the administrative panel, and search for
Included fields
The Page content includes the following fields:
Field | Description |
---|---|
Title | The title of the page. |
Search Description | The description of the page that appears within the search results. |
Text format | The text format. You can select Filtered HTML or Site Studio from the drop-down menu. |
Layout Canvas | The layout canvas. The drag-and-drop content authoring tool used for adding Site Studio components to your page. Note The layout canvas is only included on the Page content type if Site Studio is enabled. |
Language | The language of the page. |
Image | The main image associated with the page. This appears as their profile image and as a thumbnail when the page appears within a list. Click Add Media to upload an image. |
Taxonomy | One of the following taxonomy types:
|
Save as | The state in which you want to save the details of the page. You can save the details of the person as Draft, In Review, or Published. |
Page content type with Site Studio
To include Site Studio with your Page content:
Run
composer require acquia/cohesion && composer require acquia/cohesion-theme
.This installs the module in your application codebase.
- Do one of the following to enable the module:
- Go to the Extend menu of the administrative panel, and search for
cohesion
. - Run
drush pm-enable cohesion cohesion_base_styles cohesion_custom_styles cohesion_elements cohesion_style_helpers cohesion_sync cohesion_templates cohesion_website_settings -y
.
- Go to the Extend menu of the administrative panel, and search for
Creating a Page content with Site Studio
- Sign in to Drupal Starter Kits.
- In the Drupal Starter Kits administrative interface, click Manage > Content > Add Content > Page.
- Enter an appropriate value in each field.
- Add components to the Layout canvas.
- Click Save.
- Verify the changes on your site.
Page content type without Site Studio
Creating a Page content without Site Studio relies on the body field for the main content.
Creating a Page content without Site Studio
- Sign in to Drupal Starter Kits.
- In the Drupal Starter Kits administrative interface, click Manage > Content > Add Content > Page.
- Enter an appropriate value in each field.
- Click Save.
- Verify the changes on your site.