Main Content Region

Edit Content with the Drupal Editor

Headers

Headings

Understanding the header hierarchy and flow of your information is very important for accessibility. The first header of any section should always be placed as a header 2. Then any sub sections underneath should begin with a header 3, then 4. For example:

First Section (Header 2)

Text and content pertaining to the first section.

Sub Section (Header 3)

Text and content pertaining to the sub section

Sub Section 2 (Header 3)

Text and content pertaining to sub section 2

Sub Sub Section (Header 4)

Text and content pertaining to sub sub section 

Second Section (Header 2)

Text and content pertaining to Second Section

Though it may be tempting to use different headers based on size, this will only create obstacles for users who rely on web accessible tools to navigate easily through your web pages.

When you are creating a header, you will also see a field right underneath labeled "Header ID":
Example of header edit menu

Here you can add a word that would easily reference the section of this page you want the user to be able to immediately go to called an Anchor.

New Line

Once you have created your new header simply click on the new line prompts when hovering over the header. They will allow you to create space above or below the new header like so:

Header new line visual

Styling

Content Bar

Bold 

Bold The bold button allows you to thicken the lines of text in your content. This technique is most useful when you want to catch the user's attention. 

Italics

ItalicsThe Italics button allows you slant the text in your content. This is most commonly used for the name of projects or particular works so it can stand out from the rest of the sentence. 

Strikethrough

Strikethrough The Strikethrough button draws a horizontal line through text. This allows to show a change while keeping the original content.

Remove Format

Remove FormattingThe Remove Format button allows to easily highlight a section of text and remove any formatting from the highlighted section all at once. For example if you wanted to remove a section that had links, bold, and italics formatting in it. 

Aligning your text

There are three options you can use to align your text how you'd like. There is:

Left Align Left Align

Center Align Center Align

Right -AlignRight Align

Justify Justify Justify is a new feature that will allow the text to completely fill the width of the content perfectly. In order to achieve this words will be broken off in order to maintain a perfect even edged width of text.

Bulleted List

Bullet points Bulleted lists are useful when you would like to create a list without any order, importance or chronology. For example:

You can print your work from:

  • Your laptop
  • A computer station
  • A printing station

There are three different styles of bullets to choose from.

Numbered List

Numbered ListNumbered lists are useful when you'd like to create a list where chronology is important. For example a step by step guide.

  1. Log into Drupal
  2. Then select the Content Button at the top left corner of the screen.
  3. Next select "Add Content"
  4. Then select "Page"

There are 5 different styles of numbered lists to choose from like Roman Numerals, numbers, and letters. When choosing what style of numbered list you would prefer you can also choose what number your numbered list should start at  by clicking the "List Properties" section:
List Properties

Block Quote

QuotationBlock Quotes are used to emphasize a direct quotation that is longer than 40 words or 4 lines. For example: 

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Link

LinkThe link button allows you to make any text into a hyperlink. 

  1. Simply highlight the text you'd like to make a link or click where you'd like to create the link.
  2. Then select the link button.
  3. You will then be shown this screen:
    Link Field Display

Here you will paste the URL that you'd like the user to be sent to and you'll see something like what is below after you select the "Insert".

*Make sure the text of your link is descriptive. Please do not use text such as "Click Here" or "Read More". This kind of text is not accessible. If a user is using a screen reader "Click Here" is not helpful to let someone know what they're specifically clicking on. 

Link to the Department  of Marketing

Once the link is established you can further customize or edit your link by clicking on it like so:

Edit or customize link

  • The first icon allows you to edit and update the link.
  • The second icon allows you to have users open a new tab when they click on the link. 
  • The third icon allows you to completely remove the link. 

 

Links to Email

To create a link to an email address, follow the steps to make a link. In the URL box, you will enter mailto: followed by the email address you wish to link.

Link Email

Button

Button Buttons are great visual tools that can be used to grab a user's attention. Once you have selected the Button Icon you will be prompted with a new screen like this:

Button Options

Button Text: What you'd like the text for the Button to be. For example looking at the examples above the text would be "Library Homepage", "Admissions Homepage", "Give to CSUSB".  Make sure this is descriptive enough that a user will understand what they are clicking on.

URL: The URL a user will be sent to when they click on your button. 

1st drop-down (Solid by default): This drop-down will give you a solid colored button or simply display a border around the button by clicking on it. For example:

Solid Color Button for College of Arts and Letters

Outline Button for Department of Art and Design

2nd drop down (Primary by default):  This drop-down will give you 4 different color options like below:

The URL field is the URL a user will be sent to when they click on your button. 

Third drop down (None by default): This drop-down a list of different icons that you can use to make it even clearer what the intention of the button is. For example:

Location for FO-182

'Creativity Finds a Way': How the CSUSB College of Arts and Letters Faced COVID-19 Video

You can also toggle "Open in new tab" so when a user clicks on your button their browser will open a new tab with the link selected.

New Window Department of Accounting and Finance

You may also toggle the Full Width box if you'd like the button to take up the whole width of the section. For example:

CSUSB homepage Full Width Button

Anchor

 Adding Anchors allows you to create a link for a user to jump to a specific section on your webpage. 

Adding an Anchor to your Header

When you are creating a header, you will see a field right underneath labeled "Header ID":
Adding Anchor to header

Here you can add a word that would easily reference the section of this page you want the user to be able to immediately go to. 

Referencing your Anchor

If you'd like to reference your anchor then you'd add the # and the label for the anchor to the end of the url I am referencing. For example: https://www.csusb.edu/web-editor-guide/drupal-content/page/edit-content-drupal-editor#anchor

Info Block

info blockYou can add an info block to display content within a decorative block. When creating an info block you can align it within the page, choose between blue and grey blocks under Style, and add many different icons from the Font Awesome gallery that you can search for within the Edit Options. Info blocks can be useful when you wish to draw the attention of visitors.

Info Block Options

 
Info Block Example

Info Blocks include a title and a content section where you can add text and buttons. Example

Table

Table Icon Tables can be used to display sets of data. You should never use tables simply for layout purposes. Tables hinder readability on mobile devices and should be used as a last resort when data cannot be displayed via other methods.

Adding a New Table

After selecting the table button in the Drupal editor, you will be presented with the Table Properties window.

Table Options

You can select the number of initial Rows and Columns that the table will have. When creating a new Table, all tables must have:

  • Proper Headers (either First Row, First Column, or Both)
    • These are labels for the row, column or both so a user understands what is being displayed here.
  • A Caption describing the contents the table
    • The title/description of the table. This is very helpful for accessibility so a user understands the information being organized and displayed in the table
Fruit Available for Sale
FruitSeasonPrice
AppleFall$2
MangoSummer$4
KiwiWinter$1

This table uses the first row as the headers, which describes the data in the corresponding columns and uses "Fruit Available for Sale" as the Caption to describe the entire data set in the table. 

Adding extra rows or columns Table

To add extra rows and columns you will click a table cell near the column or row you would like to add then you'll notice a prompt on top of the table appear.

Test Table

The icon highlighting columns (Column Edit) Will give you options Insert a Column left or Right, Delete the Selected Column, or Select the entire Column. The same options will appear when selecting the icon highlighting rows (Row Options)

Delete or move a Table

If you would like to completely get rid of a table or need to move the table higher or lower in your content you can click the icon in the top left corner of the table. Simply drag and drop the table to its desired area or just delete.:
Delete Move Table

Accordion

An accordion is a design element that expands in place to expose hidden information. This can be useful when creating FAQs sections. Make sure to not overuse Accordions simply to reduce the amount of content on a page. This unnecessarily makes it harder for users to be able to clearly view the information on your page and the page less accessible and muddled. 

One item

New Accordion Item Content

Two item

New Accordion Item Content

 

Do I need to bring my parents or family with me?

For our first-year students, it is not required for parents or family members to attend Orientation with you, however we do have a Parent and Family orientation program just for them! We strongly encourage family members to attend our Parent and Family Orientation. This is a good time to learn about resources available at CSUSB to help families support their students. Your family can also learn about Parent and Family Orientation and special events just for them by visiting the Parent and Family Orientation page.

Parent and Family Orientation is only offered concurrently with our first-year orientation program, not with our transfer orientation program at this time.

I am taking classes at the Palm Desert Campus. Do I have to attend Orientation?

In order to attend Orientation at the Palm Desert Campus, your major must be offered at PDC. Otherwise, you must attend Orientation at the San Bernardino campus. For more details about Orientation at the Palm Desert Campus, visit their website or call them at 760.537.8234.

My Student Center says that I have a "Orientation hold". What exactly does that mean?

The "Orientation Hold" is an advising hold that will be removed AFTER you complete Orientation. If you have completed Orientation and the hold is still active on your account, please contact the Orientation and First Year Experience at 909.537.5233 or orientation@csusb.edu. 

Creating an Accordion

When editing a Page or other Content types in Drupal, the "Insert an Accordion" button is available in the content editor.

  1. Click on the Insert Accordion

    Add Accordion
     
  2. This will automatically create the first accordion for you. When selected you'll see these buttons appear at the top or bottom of the Accordion
    Accordion Options
    • The 1st icon (Add More Accordion). will add more Accordion items,  Here you can add an accordion above or below the currently selected Accordion.
    • The 2nd icon (Expand accordions) can force users to only expand one accordion at a time or have all accordions open at once.
    • the 3rd icon (Change color accordion) can change the color of the accordions. 
       

Deleting and Sorting Accordion Items

To delete items, select the desired Accordion item by clicking on the Handle Icon and simply pressing Backspace/Delete key.
Select Icon

 

To sort items, click on the Handle Icon and drag the handle icon to a different location in-between items.

YouTube Video

Embed YouTubeThe Drupal page editor also allows embedding YouTube Videos.

YouTube Embed Options

After selecting the YouTube button, you will add the title for the video you wish to embed, then paste the link for the video. You can toggle 'Video image and link only' to show a thumbnail of the video with a link leading to YouTube. Once finished just select the green check-mark and your video will display.

All videos must have proper captions. The automatic captions offered by Youtube are a good start but not sufficient enough for accurate captions. Any dialogue or on video text must be accompanied by alternative readable captions.

File

Upload File directly onto page

Insert FileYou can add files to webpages using the file button in the editor. File uploads are limited to the .doc, .docx, .xls, .xlsx, .pdf, .ppt, .pptx, .txt file formats and have a size limit of 10MB.

Because file names and URLs cannot be changed in Drupal, please be as specific/precise with file names before uploading them into Drupal. The file in the following example, is an example of a bad file name. "sample_file" gives no indication as to what is contained in the file or what it is used for when searching for the file from within Drupal. A better name would be "drupal_editor_guide_example_file". Using underscores or dashes betwen words is best as it will make it easier to find your files later is needed. 

After uploading your file, the Drupal editor will display your file as a link with the file name as the link text. 

sample_file.txt

You can also select specific Text like "Sample File" and then click the File button. Once the file has been uploaded the selected Text will become a link to that newly uploaded file.

Sample File

Add File

Updating an Existing File

You cannot update an existing file from the normal page edit screen. If you remove the linked file from a page and upload a new file, the old file will continue to be available to the internet both directly and through Google searches. This creates outdated files and can cause confusion for users searching for specific information or files. To replace an existing file:

  1. Go to the Content page of Drupal by selecting the "Content" link in the admin menu bar.
  2. Select the "Files" tab.
    Files Tab
  3. Enter the file name in the "Filename" field. Searches are wildcarded on both ends, so partial matches will still display. If you files had spaces like Department Document.pdf, use double quotations marks to make sure the system searches all words as one file like so: "Department Document"
    Searching for Department Document.pdf
  4. To replace the file, select the "Replace" option for the file you wish to replace. 

    Replace link for file

  5. Upload your new file, give the file a "File Title" and select save.
    Replace and label new file

Your old file is now replaced by a new file. The new file will exist at the same URL of the old file, so links on your website will continue to work correctly and Google Searches will now return the new file. If you continue to see the old file at the file URL, please refresh your browser as you may have the old file cached in your browser. 

 

Uploading a File in the Backend

Sometimes you may need to upload a file in the backend like for a Button. You'll need the URL first to reference to.

To upload files:

  1. Go to the Content Edit page of Drupal by selecting the "Content" link in the admin menu bar.
  2. Select the "Files" tab.
  3. Click  the blue button "Add File" near the top right area.
  4. Then upload your file. Carefully read the size limits and file types that are accepted before clicking the "Next" button
    File Upload
  5. It will ask what destination you'd like the file to go to. Simply click "Next" and accept the default.
  6. You will now see a link to your file, click on it and you'll see your newly uploaded PDF with the full URL up top.
  7. Copy and Paste your URL wherever necessary on your page

Image

Insert ImageYou can add images to webpages using the image button in the editor. Preferred formats are PNG and JPG with max size of 1 megabyte. It is recommended that you crop images to desired dimensions before adding them with the editor. 

Once the image has been selected and uploaded you will see the following prompt:
Alt Text

Alternative Text must be added to the image for accessibility. It should either describe the image or it should be the text within the image. Please refrain from using images with a lot of text as screen-readers are unable to pick up text on images. If the image is merely for decoration and is simple enough you can toggle the "Decorative Image" option and bypass Alt Text and select the green check-mark.

Insert image options

Here you can see all the options that are available to you. Here is what each option means:

  • Change Alt Text Change Alternative Text:  In case the Alt Text needs to be updated or change you can do that by selecting this button.
  • Break Text and Align Left Break text and align left: This forces the image to align to the left and keep clear any text to the left of it.
  • Align left and wrap text Align left and wrap text: This forces the image to align to the left and wraps the text around it accordingly.
  • Align center and break text Align center and break text: This forces the image to the center and keeps clear any text to the left and right of the image.
  • Align right and wrap text Align right and wrap text: This forces the image to the right and wraps the text around it accordingly.
  • Inline Inline: This allows the image to be inserted in-between a line of text like so:
    Inline Example
  • Toggle Caption Caption: This lets you add a caption to your image.
  • Resize Image Resize Image: This lets you resize the image or reset it back to its original size.
  • Link Image Link Image: Add a link to your image so when people click on the image it sends them to another page.