黑料网

Drupalites - New Elements & Features

Hi, Drupalites!

Along with the launch of Drupal 10, seven new elements and features are now available for use.

 

Take Advantage of Seven New Elements & Features

1) Resizing Images

We have reworked how we size images in Drupal. Now, you can resize your images in 50px increments from 100px wide all the way up to a 1200px full-width. The height of the image will be automatically sized based on the width. These styles will not crop your image鈥檚 aspect ratio, only change the size.

To do this, you will use the 鈥渋mage styles鈥 dropdown, which defaults to full size (known as Original Size.) Select your desired size from the dropdown. You can find the 鈥渋mage styles鈥 dropdown by clicking on the image you鈥檝e added to a WYSIWYG.

 

2) Horizontal Rules

Four new horizontal rule and divider styles are available based on the new Mosaic design language. (See screenshot below.) Please use them, but do so tastefully and sparingly.

There are two ways to use them:

  1. In a WYSIWYG editor
    1. Use the 鈥淚nsert Horizontal Line鈥 button (on the top row, next to 鈥渋nsert link.鈥)
    2. Select one of the new styles and it will be added to the editor.
  2. Using a homepage or BP Paragraph element
    1. Click 鈥淎dd Paragraph鈥 and select 鈥淒ivider鈥
    2. In the new paragraph, click the 鈥淒ivider鈥 dropdown and select one of the new styles:
      1. Squirrel Rule Line
      2. Bolt Icon Rule Line
      3. Bolt Icon
      4. Mosaic Tiles Rule Line
    3. Note: On basic pages, BP Paragraphs will only show on the front of the page if the 鈥淏P Paragraphs鈥 layout element is present. It鈥檚 there by default, but if your dividers aren鈥檛 showing, check the layout editor.
Drupal Horizontal Rules
 

3) Full-Width Image Gallery with Fullscreen Click

The 鈥淢odal Image Gallery鈥 Paragraph element now has a single-column feature to allow you to feature a full-width gallery of images with captions on your website. To use it, add a 鈥淢odal Image Gallery鈥 paragraph to your page and select 鈥淪ingle Column鈥 from the Gallery Style dropdown, then add your images/captions below.

Once you鈥檝e placed the images and saved the page, users will be able to click to view them fullscreen and click through them as a carousel.

Here is an embargoed example page with the single-column gallery using student work from the School of VCD.

 

4) Embedded Instagram Feeds

To embed an Instagram feed on your site, please use Instagram-generated embed code. Instagram offers . Those steps are pasted below for your reference:

  1. From the post or profile you鈥檇 like to embed, click more actions in the top right.
  2. Click Embed, then click Copy Embed Code. Note: If you don鈥檛 see Embed, the post or account may be private or may have Embeds turned off and cannot be embedded.
  3. The embed code will now be copied to your clipboard and can be pasted into your HTML editor.
    1. (UCM Note: Make sure you paste the embed code into the source view of your WSIWYG editor)

Below is a screenshot of the Kent State Instagram feed embedded in a page:

Drupal Instagram Feed Embed
 

5) New Elements! 鈥淚mage Arrow Teaser鈥 and 鈥淥verlay Box Teaser鈥

Two new paragraph elements are available for you to add to your homepages and basic pages: The 鈥淚mage Arrow Teaser鈥 and 鈥淥verlay Box Teaser.鈥 Both elements use node references to display titles and images with a link to the embedded nodes.

The Image Arrow Teaser looks like this:

Drupal Image Arrow Teaser

The Overlay Box Teaser looks like this, with an option for a white color theme:

Drupal Overlay Box Teaser
 

6) Photo Credit Field for Articles

There is now a 鈥淒isplay Photo Credit鈥 field on Articles. The text will show right below the Display Author field at the end of the article body. Screenshot:

Drupal Display Photo Credit
 

7) Option for Photo and Title on 鈥淭abbed Nodes鈥 Paragraph

On the 鈥淭abbed Nodes鈥 paragraph, the default display is now to show both the media field image and the title for Basic Pages and Internal Basic Pages, instead of removing the title. If you want to remove the title, there is now a checkbox to hide the title that's on the edit screen.

Drupal Tabbed Nodes Paragraph
 

Please continue to submit issues you need help resolving to FreshService via the Submit a Ticket button at www.kent.edu/websupport.

Web Team

Amy Balsinger, Application Developer
Jared Boehm, Senior Manager, Digital Enterprise Solutions
Lin Danes, Executive Director of Digital Communications (Web Services)
Alex Herbers, Web Designer
Eddie Lampert, Student Web Support Specialist
Maghan Larkins, Web Content Coordinator
Paul McKinney, Web Designer
Tim Priester, Web Designer & Services Lead
Natalie Timmerman, Web Content Coordinator

POSTED: Tuesday, February 20, 2024 10:37 AM
Updated: Friday, March 14, 2025 11:22 AM