ℹ 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.

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

  1. Go to the site structure and find the section you want the banner to appear on.
  2. Click on the Actions Button and choose Edit section from the dropdown menu.
  3. Click on +Add Content.
  4. Choose the content type 'Alert Banner (non-course pages)'.
  5. Give your content a Name.
  6. Enter in your alert message
  7. You also have options to:
    1. Select an icon (that appears on the top-left).
    2. Choose a different background colour (the default colour is yellow).
    3. Add a 'Call to Action' link.
    4. Prevent the banner from inserting white-space between itself and the piece of content, below it.
  8. To save your changes (without approving them for publication), click 'Save changes'.
    Save changes button.  No option to save and approve or save as draft..
    To save your changes and approve them for publishing, click on the small arrow beside Save changes and choose 'Save and approve'.
    Save Changes dropdown with Save and Approve highlighted

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 banner to appear on.
  2. Click on the Actions Button button and choose 'Edit section' from its dropdown menu.
  3. Click on the 'Other' tab and choose Metadata from the dropdown menu.
  4. Copy the following code into the DC.Description field (as long as it is empty)

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

    Alert Banner Metadata DC.Description information example
  5. Replace the text 'Your message here' with the text you want to appear
    Alert Banner with i icon showing
  6. Remove the word 'info' from the keyword to remove the i in 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 banner to appear on.
  2. Click on the Actions button for options Button and choose 'Edit section' from the dropdown menu.
  3. Choose the content type 'NUIG Code Only'.
  4. Give your content a name.
  5. 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
  6. Replace the text 'Your text goes here' with the text you want to appear
    Alert Banner Maroon
  7. 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.

  8. You can change the banner's icon by changing 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

  9. To save your changes, without approving them for publication, click 'Save changes'
    Save changes button.  No option to save and approve or save as draft..
    To save your changes and also approve them for publication, click on the small arrow, beside 'Save changes', and choose 'Save and approve'.
    Save Changes dropdown with Save and Approve highlighted