Environment: Drupal 9 User
Purpose: Provide steps on how to add a new page to drupal site
Adding Your New Page
Log in to edit the website. See the Logging In and Out article if you need assistance.
Click on Content in the administration menu at the top of the screen
Click Add Content
Scroll to Page and click on it
Adding Content to Your Page
Add Title
Enter a page Title in the corresponding region
Banner
This field may be used to upload a teaser image that will be placed at the top of the page. The image will be resized to fit the space, however, it is recommended the images be sized using editing software prior to upload to avoid distortions. The image size should be 1600 x 800 px. The file size should be less than 3MB for optimal load time on pages.
To add a Banner:
1. Toggle on "Show banner?"
2. Click Add media
3. Click "Select file" and browse in your files the required image
4. When selected, the file will be checked like this:
5. Click "Insert selected"
6. You can add a "Headline" that will be placed under "Title" (see image below).
Uploading Images, Documents and Videos
In the body section, click "Insert from Media Library"
There are three sections for uploading media - Image Attachment, Document Attachment and Video
For Images and Documents, click on Select File.
This will open your file explorer. Navigate to the folder containing the image and select the image or file to attach.
For Videos, you'll need to provide a URL. Allowed providers: YouTube and Vimeo.
Add Body Content
Add Body Content
Add page content within the Body section. For an in depth look at what features are available to you in this field, see the CKEditor Overview article.
Revision Information, Menu Settings, Metatags, and URL Alias
Beneath the body content there are more options allowing you to add the new page directly to the department menu, create revision notes, and change the automatic URL alias.
Revision Information
The Revision Information section will allow you to add a comment to the revision. Here is where you decide how to save your page. As Draft, Ready for Review or Published.
Menu Settings
You will first need to toggle on "Provide a menu link"
You can check Provide Menu Link to add this new page directly to the Main navigation menu (set by default). By default, the Menu link title will pull in the title of the page. You can change this if you wish to have the name in the department menu differ from the page title. Additional information can be added when hovering over the menu link in the Description section.Ensure you set the Parent link to correct parent, so I can be displayed where it should. Leave the Weight set to zero.
Metatags
Page Title: The text to display in the title bar of a visitor's web browser when they view this page. This meta tag may also be used as the title of the page when a visitor bookmarks or favorites this page, or as the page title in a search engine result. It is common to append '[site:name]' to the end of this, so the site's name is automatically added. It is recommended that the title is no greater than 55 - 65 characters long, including spaces.
Description: A brief and concise summary of the page's content that is a maximum of 160 characters in length. The description meta tag may be used by search engines to display a snippet about the page in search results.
Abstract: A brief and concise summary of the page's content, preferably 150 characters or less. Where as the description meta tag may be used by search engines to display a snippet about the page in search results, the abstract tag may be used to archive a summary about the page. This meta tag is no longer supported by major search engines.
Keywords: A comma-separated list of keywords about the page. This meta tag is no longer supported by most search engines.
URL Alias
By default, your page should generate an automatic alias for your page based on the title of the page.
Saving
Before you save your page, you need to decided in which stat you wish to save it
These are the options available
After you select one, just click the Save button