ℹ You should not put more than one alert on any page. Also, do not use this content type on course pages - they have a separate alerts system.

Alert Banners

Yellow Banners

By adding an 'Alert Banner (non-course pages)' content type, a banner will appear in the page body (to the right of the leftbar). Using this content type, is useful if you wish to have the same message appear on multiple pages. Simply add the Alert Banner to your first page and then mirror it to all other pages.  Then, if you change one, all others will change too. 

This content type allows your to select an icon (e.g. warning, info), enter the alert text, and, optionally, add a section link at the end of your alert message (with a configurable label).  You can also change the colour of the alert banner, but we recommend using the default yellow colour.

Alternatively, you can place HTML code into the page's DC.Description (if it's empty) to make a full-width. yellow, information banner appear just below the page title, as shown above.  See instructions below.

Maroon Banner

By adding some code to an 'NUIG Code Only' content type you can have a maroon banner appear, which is simply a big link, in the page body (to the right of the leftbar). See instructions below.

This method has the added advantage that, on small-screen devices (e.g. mobile phones), it will stick to the bottom of the screen and remain visible, even if the user scrolls down or up. 
To test this feature out, simply make your browser window narrow.

See how this content type looks in different page types:
With Rightbar, Without Rightbar, Widescreen, and Ultra-Wide (sub-site) / Ultra-Wide (top-level) pages
or else
Normal, Widescreen, and Ultra-Wide (Sub-Site) / Ultra-Wide (Top-Level) Landing pages

Note: You change a page's width (and other options) using its section's 'Page Customisation Keywords' field - see my interactive demonstration for full information.

How do I create an Alert Banner (in the body of my page)

  1. Go to the site structure and find the section where you want to add the 'Yellow Alert Banner' to appear on.
  2. Click on the Actions Button and choose Edit section from the dropdown menu.
    Actions button for options
  3. Click on the +Add Content button.
    Add Content button to add content to section h27
  4. Choose the content type 'Alert Banner (non-course pages)'.
  5. Give your content a Name.
  6. Choose a Symbol to appear on the left of your message text.
  7. Enter in the text of your alert message in the Message field.
  8. You also have options to Add a 'Call to Action' link, by ticking the Include a Call to Action Link? checkbox.
    1. Additional fields will appear, click on the +Add section link button to the section you want the CTA to link to.
      Button to add a section link to your page h27
    2. Choose the Background Color you want your CTA Link to have
  9. To save your changes and put your content on Pending, click Save changes.
    Save changes button.  No option to save and approve or save as draft..
    Or else,
    to save and approve for publishing, click on the small arrow beside Save changes and choose Save and approve.
    Save Changes dropdown with Save and Approve highlighted
  10. Go to the Order column, using the crosshairs, drag the content item up or down the list to position it where you want the content to appear on your webpage.

You can mirror the same Alert Banner onto multiple pages. This allows you to change the banner text, on any of those pages, and all other 'mirrors' of that content will automatically change too.

How do I create a Yellow Alert Banner (full-width yellow banner below the page title)

  1. Go to the site structure and find the section you want the 'Yellow Alert Banner' to appear on.
  2. Click on the Actions Button and choose Edit section from the dropdown menu.
    Actions button for options
  3. Click on the Other tab and choose Metadata from the dropdown menu.
  4. Copy the following code into the 3: Page Tagline field (as long as it is empty)

    <div id='msg' class='info postIt'><span>Your message here</span></div>

  5. Replace the text in the code Your message here with the text you want to appear
    Alert Banner with i icon showing
  6. Remove the word info from the code to remove the The i icon for an information banner at the start of your message
    Alert Banner without i icon
    Note: You can only have one of these banners per page

  7. To save the banner, click 'Save changes'.
    Save changes button.  No option to save and approve or save as draft..
    Note: Whenever you save a section's settings, those changes will go live on the next scheduled publish.  This is different from editing content types, which do not publish until you explicitly approve your changes.

How do I create a Maroon Banner

    1. Go to the site structure and find the section you want the Maroon Banner to appear on.
    2. Click on the Actions Button and choose Edit section from the dropdown menu.
      Actions button for options
    3. Click on the +Add content button
    4. Choose the content type 'NUIG Code Only' content type.
    5. Give your content a Name.
    6. Copy the following code into the Code Field:
      <div class="pageButtons" style="width: 100%;">
      <div class="pageButtonsWrapper">
      <ul style="display: block !important;">
      <li><a href="#" class="info"><span>Your text goes here</span></a></li>
      </ul>
      </div>
      </div>
      <style>
      @media only screen and (max-width: 999px) {
      div.pageButtons li { display: block !important; }
      }
      </style>

      Alert Banner Maroon Content tab
    7. Replace the text Your text goes here with the text you want to appear
      Alert Banner Maroon
    8. You can replace the "#" with a web address to turn it into a link, for example:
      <a href="//www.universityofgalway.ie"... will bring the user to the University of Galway homepage.

    9. You can change the banner's icon by changing the code class="info" into:
      class="howToApply" - for a tick icon
      Alert Banner Marron with tick icon
      class="findCourse" - for a magnifying-glass-on-a-page icon
      Alert Banner Marron with Magnifying Glass icon

    10. Click on Save changes to put your content on Pending
      Save changes button.  No option to save and approve or save as draft..
      Or else
      Click on the small white arrow beside Save changes and choose Save and approve to approve your content.
      T4's Save and approve option, selected
    11. When viewing your page on a small device, the 'Maroon banner' will 'stick' to the bottom of your screen as you scroll. On larger device screens the 'Maroon banner' will appear (static) where you have placed it in your Content Item list. To put the 'Maroon banner' in a specific position on your page, go to the Order column, using the crosshairs, drag the content item up or down the list to where you want the content to appear on wider screens.