Home » Posts tagged 'Drupal' (Page 2)

Tag Archives: Drupal

I have pages and pages of file uploads on my “Files (hidden)” page; is there a better way to organize these?

You can organize your file uploads in Drupal by creating subpages for your “Files (hidden)” page. Because these pages are subpages of a hidden page (the “Files” page), they will automatically be hidden from the navigation menu, too.

This is an example of a Files section that has been organized according to the types of file uploads:

How do I add a sidebar below the navigation menu in Drupal?

In order to create a navigation sidebar (the sidebar area located below the righthand navigation menu as shown above), you must first create a new subpage to house the sidebar content. To do this, follow the steps outlined below:

  1. Navigate to the page or top-level page of a section where you would like to add the navigation sidebar.
  2. Once you are on the correct page, click on the “Settings” tab in the Edit Console.
  3. Choose “Add sub-page” from the Edit Console
  4. Create a new page using the following settings.
    • Page name: Sidebar Content
    • URL name: sidebar
    • Appearance < Menu appearance < Location on screen: text for right column

  5. When you are finished, click “Create sub-page” at the bottom. You have now created an empty page that you can populate with content to display in your sidebar.

Note: Sidebars will cascade down through the subpages of an entire section.

How do I insert a file using Drupal?

Note: you must first upload your file to the appropriate Files (hidden) area before you can insert it on a specific page. See this help article for additional instructions if you need to upload your file.

  1. Make sure you are logged on and in the editing interface for the content where you wish to insert the file.
  2. Click your text in the area you wish to add a file.
  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 (starting with “Home”) and find the file on your Files page.
  5. Click the file you wish to insert.
    1. A new window appears.
  6. Use this screen to set the title and description you want associated with your file.
  7. When you’re done, click the “Insert” button.
    1. The window disappears, and the file now appears in the text area where you inserted the file.

  8. When you are finished editing the content, scroll down and click the “Save” button.
    1. The screen returns to “View” mode.

How do I use anchor links in Drupal?

You can link to a specific place or section on a page using anchor links. Inserting anchor links is similar to adding hyperlinks within your Drupal pages.

First you will need to identify the page section you would like to link to. Once you have located a spot, you can insert an anchor link using the “Insert/edit anchor” icon (it’s shaped like an anchor!) in the rich-text editor.

Name your anchor appropriately. The anchor name should be something short and easy to remember (you should also avoid using spaces or symbols in the anchor name). In the screenshot below, the anchor is named “A”.

Inserting an Anchor
Inserting an Anchor

Now you’re ready to create a link to the anchor you just made. To get the URL you can use to send people directly to your specific page section, add “#anchorname” to the end of a page URL.

How do I delete a page in Drupal?

Navigate to the page you want to delete. Then, in the Edit Console, click “Settings”.

In the new menu that appears, choose “Delete”.

Press the “Delete” button to move that page and any of its corresponding subpages to the Recycle bin.

How do I reorder items on a Drupal page?

In the Edit Console, click “Reorder”.

Click and drag the node titles to reorder the items contained on your page. When you are finished, click “Save configuration” at the bottom of the page.

How do I reorder pages in my Drupal navigation menu?

Navigate to the section where you wish to reorder the navigation menu.

Then, in the Edit Console, click “Settings”.

From the new menu that appears, select “Reorder menu”.

Click and drag page names to reorder them. When you are finished, click “Save configuration” at the bottom of the page.

How do I hide or unhide pages from my Drupal navigation menus?

  1. Make sure you are logged in to Drupal.
  2. Navigate to the page you wish to hide or unhide from the navigation menu.
  3. Click “Settings” in the Edit Console in the upper lefthand corner of the screen.
  4. Scroll down to “Appearance” and click to expand the menu.
  5. Click “Menu & Layout” to expand the menu.
  6. Check or uncheck the box next to “Don’t show this page in the menu.”
Drupal settings menu
Drupal settings menu

 

7.In order to create a log-in for a page for current students, faculty, and/or staff, simply uncheck the “read” box under everyone:

 

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.
Sites DOT MIISThe Middlebury Institute site network.