5.2. Creating a Content Item

Last updated on
14 April 2025

Goal

Create and publish a content item that will be used as the home page of the site.

Site prerequisites

The Basic page content type must exist. This is created on your site when you install with the core Standard installation profile.

Steps

  1. In the Manage administrative menu, navigate to Content > Add content > Basic page (node/add/page). The Create Basic page form appears.
  2. Click Edit summary.
  3. Fill in the fields as shown below.

    Field name Explanation Value

    Title

    Title of the page. Will also be used as a meta tag in the source code, URL alias, and as label of the content item in administration screens

    Home

    Summary

    Summary of the value of the body field. Can be used as teaser in overview pages

    Opening times and location of City Market.

    Body

    Full content of the page

    Welcome to City Market - your neighborhood farmers market!

    Open: Sundays, 9 AM to 2 PM, April to September

    Location: Parking lot of Trust Bank, 1st & Union, downtown

    URL path settings > URL alias

    Alternate relative path for the content

    /home

    By clicking the Source button in the rich text editor toolbar, you can see the HTML source code of the text that you are editing.

    Create a basic page

  4. Click Preview to ensure everything looks like expected.
  5. Click Back to content editing.
  6. Click Save and publish. The content is saved and can be found on the Content page.
  7. Follow the same steps to create an About page, with title "About", and a body telling about the history of the farmer’s market.

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: content-create.asciidoc

Help improve this page

Page status: No known problems

You can: