Adding the page
Content pages can be added via the Content menu in the toolbar. Navigate to Content > Add content and select the type of content you would like to add. Alternatively, you can navigate to '/node/add' and select from the available options.
Save it or lose it!
In Drupal, a newly added page isn't actually created until you click Save, so be sure to save the page to ensure you don't lose your progress.
Basic Info section
A Basic page is the most common type of node used in Rapid Start and is also the most flexible. Once you have loaded the node create form, you should begin by completing the Basic Info section. The Basic Info section includes the following fields:
- Title - this is the title of the page you want to create. This should be less than 60 characters and must be unique, as duplicate page names can cause SEO issues.
- Content Category - this refers to the type of page you are looking to create. Options include:
- Content page (recommended as the default)
- News
- Events
- Stories and Case Studies
- Stories and Case Studies - Featured
- Resources and Research
- Short description - this is the short description of a page and should be between 60 - 160 characters for optimum SEO. This description will display on some dynamic components and Views on your website.
- Image - this is the image that will display on some dynamic components and Views on your website, or when someone shares a link to your page. If no image is added, a placeholder image will be displayed.
- Publish/Event date - this field serves as the Published, Last Updated and Event date depending on the Content Category selected. This is a manual field, allowing editors to control the date that is shown to users.
- Theme - this is a node chooser taxonomy field which allows editors to categorise the type of page. The options in this field can be updated via Stucture > Taxonomy > Theme. This is an optional field - please discuss with DE&S if you would like assistance in setting up a tagging strategy for your website.
- Tags - this is a node chooser taxonomy field which allows editors to categorise the page using multiple taxonomy terms. Terms can be added via Structure > Taxonomy > Tags, and terms can be nested with a parent/child relationship to provide advanced structure to your content. This is an optional field - please discuss with DE&S if you would like assistance in setting up a tagging strategy for your website.
- Sidebar setting - this field allows editors to determine whether the sidebar will be present on their website, and if enabled, how it will display. There are three options available:
- Hidden - hides the sidebar from the page.
- Parent and children - displays the sidebar, but will start the navigation with the parent of the current page and end with the children of the parent page (if applicable).
- Full hierarchy - displays all pages within the current structure, starting as high as the grandparent of the current page, and ending with the grandchildren of the current page. Configuration when using this setting can be controlled using the Sidebar Level field.
- Sidebar Level - controls the starting level of the sidebar when 'Full hierarchy' is selected in the Sidebar Setting field. For example, level 1 would display all items from the base level of navigation of the site, whereas level 3 would start the sidebar options 3 levels deep on the website and display all options at level 3 and their children.
So many pages!
If you have a large number of content pages and the sidebar is looking overloaded, it is also possible to enable accordion-like expand and collapse functionality on the sidebar. This is a global setting which is available via the Configuration > Global config menu.
- Enable In-page navigation - this option will place all H2 tags on the page into an anchor list at the top of the page to allow users to quickly view and navigate the sections on the page. It is not possible to alter the positioning of this feature - it will display under the hero banner (if applicable) and above the first editable content section.
- Show last updated date widget - this option will display the date set in the 'Publish/Event date' field at the bottom of the page. It is not possible to alter the positioning of this feature, it will display below the last editable section of content and above the footer.
Top section
The Top section of a page is where editors can add a hero banner or hero search. There are multiple options of hero banner variations which are available to provide context to your page, as well as providing a H1 heading for accessibility and SEO. If a hero component is not added to a page, you will need to add a Title Block to the Middle Left section and configure it as a H1 to ensure compliance with accessibility guidelines.
- Basic hero - multiple variations of simple hero components from the DDS
- Hero with card - a full width image with an overlaid card to provide content
- Homepage banner - an impactful tall banner with full width image for a homepage
- Image on top hero - an image-focussed hero with a H1 underneath the image
- Hero search - a prominent search feature with optional quick links and filters
Middle Left section
The Middle Left section of a page is the primary content space where you can configure content for your page. When used without the Sidebar or Middle Right section, the Middle Left section will span 100% of the available content canvas, otherwise it will span 70%. All components (excluding hero banners and hero search) are available to added in this section and can be added via the component browser.
Middle Right section
The Middle Right section of a page is a supplementary or supporting content space. When used in conjunction with the Middle Left section, the Middle Right section will span 30% of the available content canvas. It is important to note that the Sidebar cannot be used in conjunction with the Middle Right section and that only a limited subset of components are available in this section and can be added via the component browser.
Bottom section
The Bottom section of a page is an additional space to add content in the primary content canvas. When used in conjunction with the Middle Left section and either the Sidebar or Middle Right section, the Bottom section will span 100% of the available content canvas - i.e. it will sit under the Sidebar or Middle Right section. It is important for editors to note that the Bottom section should only be used if the Sidebar or Middle Right section is in use and you want content to display full width underneath, as using the Bottom section will always display under the Sidebar and Middle Right section at 100% of the content canvas. All components (excluding hero banners and hero search) are available in this section and can be added via the component browser.
Details sidebar
The Details sidebar appears on the right of the edit node form. From here, editors can configure node settings and provide additional page metadata.
Menu settings
Hide from search
Page ownership
URL redirects
Scheduling options
URL alias
Authoring information
Revision log message
Each time a node is saved, Drupal creates a new revision for it. When this happens, you can include an optional revision log message which will show in the Revisions tab for the page. It is recommended to add a revision log message when making any major changes to a node. This is so you or other editors understand what changes were made in the revision.
Menu settings
The menu settings section provides a quick way of allowing editors to add the node into the Main Navigation (rather than doing this via Structure > Menus > Main Navigation. To add the node to the main navigation, click the 'Provide a menu link' checkbox and select the node that you would like to be the parent of the current node from the dropdown menu. You can also add a numeric indicator to the 'Weight' field to determine the order of the node as a child of the selected parent. For example, if there are already two nodes that are children of the selected parent, adding zero into the Weight field will make the current node the first child, whereas adding a higher number may make the node appear as a lower order child node. The order of pages can be changed at any time via the Structure > Menus > Main Navigation menu.
Alternative parent selector
In Rapid Start v3.0, an alternative parent selector menu was added to simplify the process of finding a parent node in the main navigation. This menu displays as a tree selector with a search field, allowing editors to easily identify the parent node for the current node.
Hide from search
The hide from search settings allows editors to determine how this node will be indexed in searches. By default, all nodes with a content moderation status of 'Published' will be indexed by the website search and made available to external search engines. Using the 'hide from search' options, it is possible to hide a node from internal and/or external searches.
Page ownership
The page ownership section allows editors to keep track of which person or team within their department are the owners of particular content as well as the last date the page was audited (eg for factual accuracy or relevance).
URL redirects
The URL redirects section allows editors a quick and straightforward way to implement redirects from the current node to another node on the same website. You can learn more about managing URL redirects here.
Scheduling options
Scheduling options allow editors the ability to change the content moderation state of a node at a particular date and time - this could be to either Publish or Unpublish a node. If you only wish to change the moderation state once (eg from Draft to Published), it is only necessary to complete the 'Publish on' and 'Publish state' fields. Alternatively, if you wish for a node to be published on one date and then unpublished on another (for example, a limited-time event), you can complete all fields.
URL alias
By default, all nodes are created at the root level until they are added to the main navigation. Once a node is added to the main navigation, the url structure will build automatically based off the nodes position in the menu. If you would like to override the automatic URL, this can be done by unchecking the 'Generate automatic URL alias' checkbox and defining the required URL in the 'URL alias' field. When doing this, be sure to follow best practise, including using hyphens ( - ) to replace spaces between words and use lower case.
Authoring information
The authoring information section provides basic information about the nodes creation, including who created the page and when. This information can also be found in the Revisions tab of the node.
Saving the page
Once you have configured the node to your requirements, you are ready to save the page. The Save button is located at the bottom of the edit node form. When you save your node, it will be created and the first revision will be created for the node. By default, new nodes are created in the Draft content moderation status.
Having trouble saving your page?
If a node will not save after you have clicked the Save button, it is most likely because there is an error or incomplete mandatory field on your node. If there is no alert message at the top of the edit node form explaining the error, you will need to carefully check each component you have just added or updated to identify the incomplete mandatory field.
Content moderations status
The content moderation status, also known as publishing status, defines the moderation status of the node. In Rapid Start, there are three out of the box content moderation statuses:
- Unpublished - nodes in this status are only visible to editors.
- Draft - nodes in this status are visible to editors and authenticated users with a Preview link for the node.
- Published - nodes in this status are visible to all users, including the public.
Editors are able to change nodes from one status to another via the edit node form. It is also possible to create a draft revision of an already published node, with the published version available to the public while editors and authenticated users with a Preview link are able to view the changes on the draft version.