Drupal, instruktioner för redaktörer

Information page

This manual is no longer in use. Instead, you can find guidelines and instructions for working on gu.se, the Student Portal, and the Hotel Portal in Redaktörsmanual Drupal.

Description

An information page is a basic page type in Drupal and is used for pages centred on text and facts. Unlike a rich page, an information page is often the final destination of someone looking for information and is most often used for levels 3 and 4 in the website structure.

Information pages can be created by both web editors and content editors, although only a web editor can add the page to the left menu. If you enter five subheadings (H2), these are generated in a left-hand menu in the header. This feature is called In-page navigation for information pages. In layout builder you can get H2 headers by choosing formatting "Heading 2". This formatting can be found in the "editor" component of the "information" section for information pages and in the "text box" component of other sections (1-column, 2-column, etc.).

Previously it’s been possible to create Information pages in both the edit tab and the layout builder. To make things less confusing, we have turned off the body text field on the Edit tab. Body text is instead entered on the Layout Builder tab > Information section > Editor. Just like on Rich Pages, you create title and summary directly below the content, and then build the page in Layout Builder.

Examples: Applications and admissions, our organisation etc.

Do as follows:

  1. To create an information page, switch to the “Content” tab in the top left.




  2. Click the “Information page” link.



  3. Click the “+ Add information page” button.

  4. Language
    Swedish is the default language version, although you can also choose to create an English version of your page first by selecting “English” from the drop-down list in the “Language” field.
  5. Title
    Enter the title of the rich page in the “Title” field (required).
  6. Summary
    Write an introduction, a shorter summary of the rich page, in the “Summary” field (required). If the summary is long and is linked from a promo, it’s cut to the first 94 characters followed by an ellipsis (…).



  7. Header image/video
    The “Header image/video” tab allows you to add a header image or a header video at the top of the page.
    Video cover
    Add an image to be used as a cover image for the video before it’s played in the “Video cover” field (required). Click the grey “Open image library” button. See the instructions under 8a.



    1. Header image
      Click the grey “Open image library” button.
      1. You can now choose one of the links: “Space image” (pre-selected), “Shared image library” or “Upload new image”.



      2. Select image
        To select a previously uploaded image, click the image (green checkmark) and then the blue “Select image” button in the lower left.
      3. Alt text and Image text
        Once you’ve chosen an image, you need to complete the “Alt text” field (required) and the image text for the image in the “Image text” field. Images which are purely decorative or carry no information are not, however, to have an alt text, so enter <none> in the text field.


    2. Header video
      Click the grey “Add Video” button. If you’ve added both a header image and a header video, the video will be shown.

      NOTE! Which language you choose as the main language, the first language you create the page in, controls which language you can upload a video to. When you create the page for the first time, you can upload a header video in one language, translate the page and then have the option to edit the video (that is, upload another video in the other language as well).

      However, the header video must be selected in both languages. Should you switch to head image instead of video in the main language, the video on the translated page will disappear and you can not replace it. If you add a new head video in the main language, it will only be visible in that language.


      1. Title
        Enter the video title in the “Title” field (required).
      2. Video URL
        Paste a link from, for example, YouTube, Vimeo or GU Play in the “Video URL” field (required).
      3. Video length
        Enter the length of the video in the “Video length” field (required).
      4. Video cover
        Add an image to be used as a cover image for the video before it’s played in the “Video cover” field (required). Click the grey “Open image library” button. See the instructions under 8a
      5. Create video
        Click the grey “Create video” button to save the settings or “Cancel” to return to the main tabs.



  8. Blurb settings
    The “Promo settings” tab enables you to upload an alternative image for the promo, which is shown instead of the header image. If you have a header video on the page and you upload an image here, this image will be used in the promo (otherwise the promo will use a background colour).
    1. Blurb image
      Click “Promo image” to upload an alternative image for the promo, which is to be shown instead of the header image. If you have a header video on the page and you upload an image here, this image will be used in the promo (otherwise the promo will use a background colour).
      Click the grey “Open image library” button. See the instructions under 8a.
    2. Blurb title
      You can enter a shorter title, so that it looks good when the page is linked from a promo, in the “Promo title” field.
    3. Blurb summary
      You can enter a shorter summary, so that it looks good when the page is linked from a promo, in the “Promo summary” field. The promo summary is limited to 95 characters.
    4. Blurb label
      You can use the “Promo label” field to add a label to a promo for an information page. This label appears in a smaller font above the promo title.



  9. By default, the page is set to “Draft” and isn’t published.
    1. To publish the page, select “Published” from the “Save as” drop-down list and click “Save”.
    2. If you want to preview the page before publishing it, you can save it as a “Draft”. To save a draft of the page, select “Draft” from the “Save as” drop-down list and click “Save”.
    3. Once the page is published, you can change the page status to “Unpublished”.

  10. Build the rest of the page in layout builder.


Page settings

The right block contains information about when the page was published, its author and its menu settings.

  1. Page information (this field cannot be modified)
    1. Last saved: when the page was last saved
    2. Author: the user’s x account
    3. Version management log: here you can describe changes made to the page and these will be shown under version management.
  2. Menu settings
    1. Check the “Enter a menu link” checkbox to activate the menu settings.
    2. Enter the title of the menu link in the “Menu link title” field. It’s important to keep this short, understandable and unique.
    3. Enter a short description of the page in the “Description” field. This is shown when the mouse pointer is held over the menu link.
    4. Under the “Parent options” heading is a drop-down list of all menu links. Select the menu link under which you want to place your page as a child link.
    5. Enter the menu placement in the “Weight” field.
  3. Author information
    1. Published by
      These details are added by default when the page is created, although if you want to change the author you can do so in the “Published by” field.
    2. Published
      Created by default (date/time) when the page is first created. If for any reason you want to use an earlier date, you can do so in the “Published” field.