Create page – the basics
Creating pages is the foundation of how to work with different content types in Drupal. If you know how to create pages, then you'll understand most functionality to create news articles, or landing pages if you are a site admin. This section covers the basics on how to create a new page.
Keep in mind that not all roles in Drupal have the permission to create new pages. You need to have Site editor permissions or higher to be able to do this. Talk to your website manager (who gave you permission to the website) if you need to create pages but don't have the permission to do so right now.
To be able to create any content in Drupal, you need to open the administration menu (the black menu at the top of the page). It's only visible when you are logged in. First, if the other menus are not visible, click on "Manage" at the top left, by the three lines. Click on Content > Add content > Page to create a new page.
Now you are in the Edit view for the page, which contains some different fields you need to fill in:
The only thing that's mandatory is the page title, which you type in the field Title. The red asterisk indicates that it's mandatory.
When creating your title on the page, keep in mind that:
- It should keep what it promises and be relevant to the content of the page.
- There cannot be multiple pages with the same header.
- Use keywords from the text.
- Write the most important words first.
- Use "active voice", preferably verbs.
- Do not create titles longer than 5-10 words.
The kicker can be used as a subheading to further explain the content of your page. It is completely optional.
Here you can write a short lead that will be an introduction to the page. The task of the lead is to summarize the content by presenting what's most important, and attract to further reading. The lead is also optional but it is recommended that you use it.
Body is the body text on the page. This field is a little more advanced than the others, with several different settings for your text and for adding images, headings and links for example. You recognize most of the settings from e.g. Word, so it's not very difficult.
Free text tags
Here you can enter relevant keywords for your content. You can use the tags to categorize your content so that you can find it more easily when you are logged in to the administration interface, but they also affect the search results on the website. It helps your visitors to find the right content when they search the site.
In "page manager", you add the person who is the responsible web publisher for the page, ie the person who works with and publishes the content in Drupal. A page manager appears in the form of an email address at the bottom of the page when it is published.
Usually you probably choose an existing one, but if it is the first time, you must create a new one under the tab "Add Page Manager", by filling in the name and email address. Next time, it's easy to search for the person's name to add them as a Page Manager for the page.
We recommend that you also add a contact box in the right-hand column, with information about the person or persons who can answer questions about the content of the page. The easiest way to do this is within an infobox. To add content to the right column, you need to go to the "Layout Mode" of the page.
The RSS settings let you add an RSS feed to your site, to subscribe to news from another site.
Links to other languages
If you have both a site in English and in Swedish, then perhaps this page has a corresponding page in the other language, on the other site. You can link to it in one of these two fields.
Revision log message
At the very top right side of the edit page, you can enter a log message. It helps you to keep track of different versions of the page as you update it. It is not mandatory but can be helpful if, for example, you are several who work with the same site.
The next choice is to add the page to the website's menu structure so that visitors can find it. If you just save the page without placing it in the structure, it will not be found in the menus. It has its address, of course, so it is possible to link to it, and it is also possible to search for it. This can be useful in some cases when you want your page to be more hidden. However, if you want the page to be found in the menu, you need to click on the menu settings, specify that you want a menu link and then fill in where in the menu the page should be located.
- Check the box "Provide a menu link" if you want your page to appear in a menu.
- The "Menu link title" is the one that appears in the menu and it should be the same as the title on the page. It is also preset here. In some cases, it may be relevant to make the link title slightly shorter than the title to make it look good in the menu, but it is best to also keep the title short and clear. The title and link title must never be completely different as it becomes confusing for the user when navigating the site.
- It is also possible to enter a longer "Description" that is visible when you hover the menu item without clicking. This can be useful on, for example, an entrance page or a collection page.
- Under "Parent Item", select which existing page in the menu structure the new page should be placed within.
- Place the page in the correct place by entering the "weight" - a menu link with a lower number is displayed above a menu link with a higher one.
Keep in mind that even if you unpublish a page, it will still appear in the menu when you are logged in to the site. It's not visible to the outside, but it could create confusion among you who work with the sitel. To make sure to avoid this confusion, you can uncheck "Provide a menu link" if you unpublish the page.
The settings in "Meta tags" are most often used for content that you want to share on social media, to select which images you want to be displayed on Facebook, Twitter etc, or if you want any text other than the title to be in your shared link.
If you don't want to publish your page directly, you can go to "Scheduling Options" and enter the date and time for when it will go live. You can also enter if it shall be unpublished automatically on a certain date.
Save the site
Once you have gone through the various settings, all that remains is to scroll to the bottom of the page and save. If you want to publish the page directly, you need to actively change from "Draft" to "Published", or you can simply choose to save as a draft and publish it at a later time when you may have finished working with the content on the page.
Check the page in a mobile phone
Remember to look at your page in a mobile phone (or by narrowing the window on the computer so that you see the page in a size that corresponds to a mobile view) when you are finished, and make sure that everything looks good there as well.
For example, you do not want the title and lead to take up too much space so that it takes time for the visitor to get to the most important content, and you do not want too many standing images that take up space and require unnecessary scrolling.
If you have any questions, please contact servicedesk [at] lu [dot] se
Always enter the URL of the website or page to which the case concerns.