Home » Drupal (Page 3)

Category Archives: Drupal

My page is displaying some funny code; how can I fix it?

It might look something like this:

Microsoft Word formatting

This is usually the result of cut and pasting from Microsoft Word or another external application. When cut and pasting from Word, make sure to use the “Paste from Word” button in the rich text editor. This will strip any formatting and leave you with nice, clean text.

Paste from Word

If you are cut and pasting from another application (such as an email), the “Paste as Plain Text” button (located to the left of the “Paste from Word” button will also come in handy.

How do I upload a photo or document file in Drupal?

You can upload the following file types to your Drupal pages: csv, dcr, doc, docx, gif, gz, html, jp2, jpeg, jpg, kml, kmz, pdb, pdf, pmf, png, ppt, pptx, rtf, sit, tar, txt, wpd, xls, xlsx, zip.

When uploading images, they appear on the page with the title and caption you assign them. Other types of files also show the title and caption, but rather than show the file, a link is provided to access it.

Each section of the website has a special page for housing file uploads; this page is titled “Files (hidden)”. It is highly encouraged that all uploaded files be placed on this page so everyone knows where to find them. The instructions below assume that this advice has been followed.

Note: Any subpages of the “Files (hidden)” page will also be hidden. You can use this functionality to organize your files on different pages with descriptive titles to further help you know which files are where.


  1. Make sure the title of your photo or file follows the name conventions from our Web Style Guide: Before you upload an optimized image to the website, please make sure the file name is readable. (Ex. william_arrocha.jpg NOT IMG30001.jpg).  Separate words within the file or image name with an underscore.
  2. Make sure you are logged on.
  3. Navigate to the “Files (hidden)” page.
  4. Locate the “Edit Console” in the top left of the screen. Click the “Add” tab.
  5. The screen now lists all the content types. Choose “File upload” from the list.
      1. The screen now shows the “File upload” editing interface. Choose “Browse” to upload a photo or file from your computer to your “Files (hidden)” webpage.
  6. Optional: When uploading an image, In the “Caption” text field, type a caption.
  7. When you are done uploading the file, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I add a story to the News Room or MIIS Around the World?

    1. Make sure you are logged on.
    2. Navigate to http://www.miis.edu/community/world/stories
    3. Locate the “Edit Console” in the top left of the screen. Click the “Add” tab.
      1. The screen now lists all the content types.
    4. Click the “Story” link.
        1. The screen now shows the “Story” editing interface. You will enter the following information: Title, Teaser, Tags, Body, Top Right Media/Caption, and Location.

      MIIS Around the World

    5. In the “Title” text field, give your content a title in the following format.
      1. Student Name: A Short Description of their Story
      2. Examples:
        Mawuor Dior: A “Lost Boy” Comes to Monterey
        Rebekah Hunt: A Summer in South Africa
    6. For the “Teaser,” please summarize the story in one sentence, including the student’s program and graduation date.
      1. Examples:
        Mawuor Dior (MAIPS ’10) escaped the conflict in southern Sudan to pursue a degree in conflict resolution and human rights.
        Elias Shakkour (MACI ’10) – who studies Arabic and German interpretation – interned at a translation agency in Berlin last summer.

Tags

    1. Tag the story by MIIS Tags, Story Program Tags, and Theme Tags. Tagging allows stories to be collected on other pages of miis.edu.
      1. You can use more than one tag from each category (i.e. MIIS Tags, Story Program Tags, and Theme Tags). For example, a story can be tagged “career,” “internships,” and “world” under the “MIIS Tags” category.
      2. Don’t forget to tag the story “world” so that it appears on the published MIIS Around the World page.
    2. In the “Body” text field, type your content.
    3. Add the necessary links.

Links

    1. Add images and videos (Note: external image files must first be uploaded to http://www.miis.edu/community/world/files. Images should be resized and cropped to 290 x 220 pixels before being uploaded to the site).
    2. Including a location is optional. If you’d like the story to appear on the MIIS Around the World map, enter the city and country in the designated fields. Or enter the latitude and longitude coordinates.

Location

  1. If necessary, alter the appearance, set publish dates, and set permissions lists.
  2. When you are done adding the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I create a Frequently Asked Question in Drupal?

FAQs can be a great resource for helping new users find information. In Drupal, you will enter each question as a separate piece of content. Each question added will appear, and when clicked on, its answer will be revealed.

Creating

  1. Make sure you are logged on.
  2. Navigate to the page you wish to add content to.
  3. Locate the “Edit Console” in the top left of the screen. Click the “Add” tab.

    Edit Console

  4. The screen now lists all the content types. Click the “Frequently Asked Questions” link.
    1. The screen now shows the “Frequently Asked Questions” editing interface.
    2. FAQ One

  5. In the “Question” text field, enter the question you wish to display.
  6. In the “FAQs Tags” field, enter search tags that could lead users to the question. Separate each tag with a comma.
  7. In the “Answer” text field, enter the answer to your question.
  8. If necessary, alter the appearance, set publish dates, and set permissions lists.
  9. When you are done adding the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I create an RSS Feed content type in Drupal?

The “RSS feed” content type can be used to dynamically pull headlines from other places. You can pull RSS feeds from anywhere on the web, page feeds from within the MIIS site, or tag feeds from within the MIIS site.

Creating a New RSS Feed

  1. Make sure you are logged on.
  2. Navigate to the page you wish to add an RSS Feed to.
  3. Locate the “Edit Console” in the top left of the screen. Click the “Add” tab.

    Edit Console

  4. The screen now lists all the content types. Click the “RSS feed” link.
    1. The screen now shows the “RSS feed” editing interface.

      RSS Feed One

  5. In the “Title” text field, give your content a title. The title should:
    • Accurately convey what type of information is being pulled by this feed.
  6. Click the button of the type of feed you would like to add: an RSS feed, a page feed, or a tag feed.
  7. Choose the source of your feed.
    1. RSS Feed

      RSS Feed Two

    2. Page Feed

      Click “Home” to sort through pages on the MIIS site.

      RSS Feed Five

    3. Tag Feed

      RSS Feed Three

  8. Repeat the previous 2 steps for any other feeds you would like to add.
    • If you have multiple feeds, you can reorder them with the arrows adjacent to their titles.
  9. In the “Feed display options” box, you can:
    • Use the dropdown menu to choose how many headlines to display at once.
    • Use the checkboxes to control the appearance of the feed, such as whether images and full item text appear.
    • Use the radio buttons to control how the feeds are sorted, such as by date or alphabetically.

      RSS Feed Six

  10. If necessary, alter the appearance, set publish dates, and set permissions lists.
  11. When you are done adding the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I create a staff/faculty profile in Drupal?

The “Profile” content type can be used to create a profile for a staff or faculty member. With it, you can display a person’s position, contact information, campus location, and photo. There is also space to put in biographical information and related links. Please note that prior to creating a faculty or staff profile, you must create a unique webpage where this profile will live. If you have any questions about how to do this, please contact rwalters@miis.edu.

Creating a New Profile

  1. Make sure you are logged on.
  2. Navigate to the page you wish to add content to.
  3. Locate the “Edit Console” in the top left of the screen. Click the “Add” tab.
  4. The screen now lists all the content types. Click the “Profile” link.
    1. The screen now shows the “Profile” editing interface.
  5. Complete the “Username” field using the staff or faculty member’s name or NetID.
  6. Enter the faculty or staff member’s “Full Name,” “Job Title,” and contact information in the appropriate fields. Contact information includes the “Location” of his/her office, “Email,” and “Phone Number.”Faculty Profile 2
  7. Use the “Image” scroll bar to choose a photo. Please note that for faculty profiles, prior to adding the photo via the “Image” scroll bar menu, you will upload it to the site via the GSTILE or GSIPM faculty profile “Files (hidden)” webpages. For staff photos, you will upload them to the appropriate “Files (hidden)” webpages within your section of the site. It is best to resize and crop the profile image to 215 x 300 pixels before uploading it to the site.
  8. If the faculty or staff member in question speaks a language in addition to English, check the boxes for all languages that apply.Faculty Profile 1
  9. Use the “Additional Profile Information” field to input biographical information about the person. This includes the statements on “I am most passionate about” and “What excites me about being a professor at MIIS” from the faculty profile template doc.
  10. Add links of faculty or staff member’s work, LinkedIn profile, and/or Twitter account in the “Related Links” field.
  11. In the “Expertise” field, describe the faculty or staff member’s academic or professional focus. This should resemble a list of fields, sub-fields, and research topics.
  12. In the “Extra Information” field, add info about the faculty’s “Recent Accomplishments,” “Previous Work,” “Education” and “Publications.” Use Heading 4 to style each header within the “Extra Information” section.
  13. Set the “Faculty Type” to “Regular Faculty,” “Visiting Faculty,” or “Adjunct Faculty” as appropriate.
  14. For faculty profiles, select a faculty type and check the “Course Catalog” checkbox to display the courses taught by that faculty member on his or her profile.
  15. For faculty profiles, tag them by “Faculty Program” &  possibly “Language” (if they teach in our Translation, Interpretation, or Language Studies programs):  Faculty Profile 3
  16. When you are done adding the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I edit content contained in Drupal?

When a content piece is created, you can change anything that could also have been initially done during the creation of the content. To do this:

  1. Make sure you are logged on.
  2. Navigate to the page containing the content you wish to edit.
  3. Scroll below the content piece you wish to edit and click the “Edit” link.
    1. You are now in the editing interface for this content piece.
  4. Make the desired changes to your content.
  5. When you are done editing the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I insert a link using Drupal?

Note: These instructions apply to the “Basic Content” and “Story” content types.

  1. Make sure you are logged on and in the editing interface for the content you wish to edit.
  2. Highlight the text you wish to be the link.
  3. Click the “Insert/edit link” button. It looks like a chain link.Link Chain
    1. The “Insert/edit link” console appears on your screen.
    2. Insert Links

  4. In the “Link URL” text field, put in the URL for the page you wish to link to.
    • If you’re linking to an outside site, please remember to set the “Target” to “Open link in a new window.”
    • If you’re linking to an internal page, set the “Target” to “Open link in the same window.”
  5. Click the “Insert” button.
    1. The “Insert/edit link” console disappears.
  6. When you are done editing the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I insert an image within the Body or Sidebar area of a Drupal webpage?

Note: These instructions apply to the “Basic Content” and “Story” content types.

  1. Make sure you are logged on and in the editing interface for the content you wish to edit.
  2. Click your text in the area you wish to add an image.
  3. Click the “Insert file upload” button. It’s the yellow folder icon, the 1st button in the 3rd row.Photo Upload Button
  4. When the “Insert file upload” console appears on your screen, use the links the find the files on the “File Uploads” page.Photo Upload Prompt
  5. Click the image you wish to use.
    1. A new window appears.
  6. Use this screen to set the properties you want for the image, such as title, description, and size. These cannot be changed later.Photo Settings
  7. When you’re done setting the properties, click the “Insert” button.
    1. The window disappears.
  8. To edit the image’s settings, make sure it is selected and click the “Insert/edit image” button. It’s tree icon, the 2nd button in the 3rdrow.
    1. A new window appears.
  9. Click the appearance tab.
    1. You now see the image’s appearance settings.
  10. Edit the image as required, adjusting the alignment, dimensions, vertical and horizontal space, and more.Photo Upload Appearance
  11. When you’re done editing the image settings, click the “Update” button.
    1. The window disappears.
  12. When you are done editing the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.
Sites DOT MIISThe Middlebury Institute site network.