How to generate a public Google Calendar for your unit

To add your unit's google calendar to the merged Cooper Center calendar, you need to do the following:

  1. Login or create the google account you're going to use for your calendar
  2. Create the new public calendar
  3. Check the "Make available to Public" checkbox
  4. Find your Calendar ID found on the individual calendar settings page
  5. Email miles the calendar ID (mg9jd@virginia.edu)
Video file

How to add links to any file type in the media library (pdf, doc, mp3)

The add media button in your text editor allows you insert images and video. But what if you want to add a link to a different kind of media link a PDF, audio file, or word document?

To add links to other kind of media you need to do the following:

  1. Add the media to the media library
  2. Copy the link of the uploaded file
  3. Edit the page that you want to add the link to
  4. Decide where you want to attach your link to (cover photo, image caption, text, etc.)
  5. Click the attach link button within the text editor
Video file

Display Banner on Mobile instead of Hero Video

As an administrator using the Full HTML editor add the following styles to the page along with the path to the Hero Video and the Tagline. You may need to unhide those two fields in Basic Page form display settings.


<style type="text/css">.path-frontpage .paragraph.paragraph--type--banner.banner--top {
  display: none;
@media screen and (max-width: 768px) {
  .path-frontpage .paragraph.paragraph--type--banner.banner--top {
    display: table;
  .path-frontpage .hero-container {
    display: none;

Which News Updates appear on the front page?

As pictured below, there are only two news updates that appear on the homepage. How do you get a news update to show up on the front page? Which two news updates will appear? 

Two news updates on the frontpage

I'll list out how Drupal chooses which two news updates appear. There is three pieces of relevant information. I'm going to list them in order of importance:

  1. Is the "Sticky at top of lists" checkbox checked?
  2. Is the "Promoted to front page" checkbox checked? 
  3. What is the "Authored On" date?
authoring information

You may run into the issue where the promoted to front page checkbox is checked but your post still doesn't appear on the front page. The reason for this is likely that there are already two posts that are "stickied at the top of lists". You need to unsticky those posts by unchecking that promotion option. Alternatively you could just sticky the post you are trying to get on the front page. That way the two most recent stickied posts will appear.

In rare situations you may need to actually change the "Authored On" date. Ignoring the promotion checkboxes, the more recent posts are show first.

How to unpublish content

Say you want to unpublish a piece of content that someone else originally authored. If you just go straight to the piece of content and click unpublish, you may find out that you no longer have the edit operation available to you on the content overview page. This is by design. Only the author should be able to publish a piece of content. You wouldn't want someone else publishing your content that you're still working on, would you?

edit operation

To ensure you are able to edit a piece of content once unpublished, you need to set yourself as the author of the piece of content. The author is set in the "Authoring Information" dropdown.

Video file

Import LOST data to CEPS website

This tutorial is specific to Center for Economic Policy Studies staff.

  1. You must have an account with the editor role on the CEPS site.
  2. Login to the site and navigate to the LOST import form (Bookmark the page)
  3. Open up the CSV file of LOST data in any text editor
  4. Remove any trailing commas from the first line of text (following lines may have trailing commas)
  5. Submit the data
  6. Check that the data is showing up through the Local Option Sales Tax page.

Lost Import Form

Video file

How to center an Image

How do you center an image?

  1. Click "Add Content" in the Additional Content section
  2. Within that new section, add an image through the "Insert Media from Library" button
  3. In the css field put the word centered

Note that all of the contents of that one section will be centered. The title will be centered as well. 

Video file




How to center text

There are multiple ways to accomplish any task in drupal. Including text formating. Here are 4 ways to center text (or any other content) starting with the simplest method.

Method 1

Highlight a paragraph and click the text align center button

Video file

Method 2

Select the "center" style. For titles, select the "H3 Center" style

Video file

Method 3

Select "Add Content" from the Additional Content section and add word "centered" to the css class field

Video file

Method 4

Go into the source view and add class="centered" to all of the tags you want to center.

Video file

How to view block formatting and source html tags

Webpages are made up of html markup. If you click the source button you will see these html elements enclosed in <> characters. All html elements have an opening and closing tag. Notice that the closing tag has a forward slash in it.

Here is what the source of a paragraph element looks like.

<p>This paragraph has an opening and closing tag </p>

After clicking the source button you will see these common tags.

<p>paragraph text</p>
<h2>Title of Page</h2>
<h3>Smaller Title</h3>
<h6>Smallest Header</h6>
<li>List Item<li>
<ul><li>Unordered List</li></ul>
<ol><li>Ordered List</li></ol>

The source button looks like this:

source button


This is how the elements actually appear.

paragraph text

Title of Page

Smaller Title

Smallest Header
  • Unordered List
  • List item
  • Last list item
  1. Ordered List
  2. List item
  3. Last list item

To view the html blocks, click the show blocks button that looks like this: 
show block button
Video file