Tables in Drupal

Posted September 3rd, 2015 at 1:46 pm.

Contents:

Adding a new table in Drupal

Click the table button.

table

Note: All properties may be adjusted later by right clicking (ctrl+click on a Mac) on the table and selecting “Table Properties.”

properties

properties2

Select your number of columns and rows

Select which rows should be headers (e.g. First Row). Row and column headers are recommended for easier reading, and for accessibility to users of screen reading software.

Change Border Size to 1. Note: Bryn Mawr tables do not normally have borders, but it is easier to edit a table if you give it borders while editing. Change this back to 0 when finished.

Copying a new table from another source

Note: These instructions are intended for pasting a complete table from another source. Pasting a new row into an existing table in Drupal using this method will likely result in all content pasting into one cell.

Copy your table from Excel, Word, or another external source. If pasting from another website, such as the legacy website, copy from that into Word, then continue with these instructions.

Use Drupal’s “Paste from Word” button to paste your table into the desired location.

pastefromword

Save the page and see how your table looks, making adjustments if necessary.

To edit the properties of your table to add headers or other elements, right click (ctrl+click on a Mac) on the table and select “Table Properties.”

properties

properties2

Select which rows should be headers (e.g. First Row). Row and column headers are recommended for easier reading, and for accessibility to users of screen reading software.

To make your table easier to edit, change Border Size to 1. Note: Bryn Mawr tables do not normally have borders, but it is easier to edit a table if you give it borders while editing. Change this back to 0 when finished.

Make sure that your table does not have a width specified. A specific width will prevent it from adjusting to fit different screen sizes.

Editing an existing table

To make your table easier to edit, right click on the table and select “Table Properties,” then change Border Size to 1. Note: Bryn Mawr tables do not normally have borders, but it is easier to edit a table if you give it borders while editing. Change this back to 0 when finished.

Add or delete rows by right clicking on the table and using the row menu.

row

If you are adding content from another source, paste content into one cell at a time, or type the content into Drupal directly, for best results. It is difficult to paste from a table in Word or other sources and get content into the correct cells.

To edit the properties of your table to add headers or other elements, right click (ctrl+click on a Mac) on the table and select “Table Properties.”

properties

properties2

Select which rows should be headers (e.g. First Row). Row and column headers are recommended for easier reading, and for accessibility to users of screen reading software.

 

 

Filed under: Drupal CMS Intermediate and Advanced by Juliana Perry

Comments are closed.