News

There are three blocks that allow editors to add a news section to their webpage: News by Category/Tag, News by RSS, and Selected News. Each block corresponds to a different type of news feed. Once a news block is created the Article Layout can be customized.

The News By Category/Tag, News by RSS and Selected News icons.

Search for “News” in the Block search and select one of the following news blocks.

News by Category/Tag

The News by Category/Tag block allows editors to pull in pages, posts or external links on  their website that have a specific category or tag. For example, if all the posts that are announcements are categorized as “Announcements,” a section can be created on this page by adding a news block with the category “Announcements”. Multiple categories and tags can be pulled into one News section. In the Georgetown Drupal Template, this corresponded to the Tag Based List.

How to add and configure News by Category/Tag

  1. Add the News by Category/Tag block from the blocks list.
  2. In the Inspector Panel on the right side of the page editor, the Block options will appear. In the “Taxonomy Options” section, choose either to pull in either a “tag” or “category”. In the “Select category” field search for and select the category/tag. All changes in the taxonomy section should appear immediately in the editor.To customize the appearance of the news articles, use the “Display Options” section. Specify the orientation of the news articles (Vertical, Horizontal, or Magazine) in the layout field. Specify the number of posts seen, and how they should be sorted (By date or alphabetically). At the bottom of the section, customize the appearance of the news articles by enabling the date of the post, the excerpt of the post and/or the category or tag of the post. The title and featured image will always display for Category/tag news items.

News by RSS

The News by RSS block allows editors to pull in external pages. Any page that creates news stories also creates an RSS. In the Georgetown Drupal Template, this corresponded to the Main Syndicated Content.

How to add and configure News by RSS

  1. Open a “News by RSS” block to insert an RSS Feed
  2. Enter the URL for the feed into the corresponding field in the RSS Options section of the block editor and specify the number of posts listed.
  3. Customize the appearance of the news articles in the “Display Options” section by choosing a block layout (horizontal, vertical or magazine), and enabling a featured image, a display date and/or an article excerpt.

The block within the page editor will not display a preview of the RSS feed, but it will still appear on the published page.

Selected News

The Selected News block allows editors to choose specific posts, pages and external links from their site to display in the news section. If you used the Georgetown Drupal template, this corresponds to Main Related Content.

How to add and configure Selected News

  1. Add a “Selected News” block to from the blocks list
  2. To add pages, posts or external links, in the “Posts” section of the block editor, search for the desired title in one of the four the search bars.
  3. Select the post, page or external link you wish to display. Once a post/page is selected, the title will appear below the search field.
  4. Customize the appearance of the news articles in the “Display Options” section by choosing a block layout (horizontal, vertical or magazine), and enabling a display date, an article excerpt and/or a category.

Block Layout

There are three block layout options for all of the News blocks, Horizontal, Vertical and Magazine.

Horizontal

Cheesecake

Cheesecake

February 21st, 2019

Soufflé I love lemon drops chocolate fruitcake cupcake bonbon. Caramels candy tiramisu gummi bears danish. Topping lollipop jelly chocolate cake sou…

Cupcake

Cupcake

February 21st, 2019

Chocolate bar chocolate bonbon I love ice cream dragée biscuit I love gummies. Dessert pie biscuit pudding. Cookie chocolate cake toffee powder choc…

Brownies

Brownie

February 21st, 2019

Marshmallow cookie halvah donut cake sugar plum. Candy canes wafer wafer pie jujubes candy muffin gingerbread pie. Pudding liquorice cheesecake pie. …

Vertical

Cheesecake

Cheesecake

February 21st, 2019

Soufflé I love lemon drops chocolate fruitcake cupcake bonbon. Caramels candy tiramisu gummi bears danish. Topping lollipop jelly chocolate cake sou…

Cupcake

Cupcake

February 21st, 2019

Chocolate bar chocolate bonbon I love ice cream dragée biscuit I love gummies. Dessert pie biscuit pudding. Cookie chocolate cake toffee powder choc…

Brownies

Brownie

February 21st, 2019

Marshmallow cookie halvah donut cake sugar plum. Candy canes wafer wafer pie jujubes candy muffin gingerbread pie. Pudding liquorice cheesecake pie. …

Magazine

Cheesecake

Cheesecake

February 21st, 2019

Soufflé I love lemon drops chocolate fruitcake cupcake bonbon. Caramels candy tiramisu gummi bears danish. Topping lollipop jelly chocolate cake sou…

Cupcake

Cupcake

February 21st, 2019

Chocolate bar chocolate bonbon I love ice cream dragée biscuit I love gummies. Dessert pie biscuit pudding. Cookie chocolate cake toffee powder choc…

Brownie

February 21st, 2019

Marshmallow cookie halvah donut cake sugar plum. Candy canes wafer wafer pie jujubes candy muffin gingerbread pie. Pudding liquorice cheesecake pie. …