Example Book List#
The book list template is good when you want to recommend a lot of titles without writing a full book review.
Write a sentence or two about each book. Write a paragraph overview and display a list without describing each title. Or write an intro paragraph and recommend 30 books using a catalog widget.
In this example, we’re showing off the favorite Newbery Award nominees for 3 different NPL children’s staff members. The content comes from Lindsay’s Newbery Awards blog post.
Our post will include the following 3 components:
- Text: Headings and body text
- Catalog Promos: Each recommended book in the body of the post
- Catalog Widget: List of all Newbery winners
Create a new Blog Entry in Drupal#
We’ll start by creating a blog post and adding our main content.
- Log in to Drupal with your username and password.
- In the menu bar, select Content > Add Content > Blog Entry.
- Add a Title. Choose an engaging title that tells the reader what the post is about.
- Add a Posted Date for your post. This should be the same date you use for scheduling your post.
- Add Blog Author. Type a first or last name in the author box. Then select the correct name from the list.
- In the Content tab, use the dropdown menu to add a text block.
- Type the heading and text that introduces a catalog promo. We’ve got a short paragraph to introduce the post, then a heading to denote the Top Pick section, then the text that falls between the heading and catalog promo.
- In the Content tab, use the dropdown menu to add a catalog promo.
- Fill out the catalog promo in formation.
- In the Content tab, use the dropdown menu to add a text block.
- Type the heading and text that introduces a catalog promo. Because this is a new section, we should use a Heading 2.
- In the Content tab, use the dropdown menu to add a catalog promo.
- Fill out the catalog promo in form.
- Save your post. We’ll finish it up in a moment.
Create a Catalog Widget/Spotlight#
-
Go to the library catalog.
-
Create a list. If you already have a list, skip this step.
-
Go to the lists page:
- Click the user icon in the upper right.
- Select “lists” from the menu.
-
On the list page, click the Edit button.
-
On the edit screen, mark the list public. Your list must be public to create a collection spotlight.
-
Once your list is marked public, you have the option to include or exclude the list from search results. Select yes or no, then click Update to save your changes.
-
After saving your changes, you’ll see “create spotlight” at the top of your list. Click “create spotlight.”
-
You’ll be asked to give your spotlight a name. We recommend naming the spotlight the same as your list so the spotlight and list titles match.
-
On the next page, we need to customize the spotlight. Click Edit.
-
Fill out the following fields:
-
Name: Give your spotlight a name.
-
Description: Add a note about where the spotlight is used. If you’re adding to a blog post, type something like “spotlight for newbery winners blog post 2015.”
-
Number of Titles: Default is 25, which is generally a good number. You can make this smaller if you like.
-
Uncheck the next three boxes. We do not want to show the title, author, or ratings for titles.
-
Style When Displaying List Widget: Choose Horizontal Carousel.
-
Cover Size to Use: Choose Medium.
-
Custom CSS File: Use https://assets.library.nashville.org/css/aspen-widgets.css
-
Cover Size to Use: Medium
-
For the next two boxes: Uncheck “show the display's title bar.” But DO check “show the view more link.”
-
Display Mode for Search Results: Choose Covers.
-
-
Click Save Changes and Return.
-
Scroll down until you can see the “Collection Spotlight with Resizing” code. Copy ONLY the iFrame URL -- this is the URL in the blue box above the iFrame code. You do NOT need the entire iFrame code snippet. You only need the URL, like the example highlighted below.
Add Catalog Widget to Blog Post#
-
Add the Catalog Widget component to your post.
-
Fill out the form:
- Title and iFrame Title: Type the title for your widget. This will display to the user.
- iFrame URL: Paste the iFrame URL from the spotlight code in catalog.
- iFrame Title: Use the same title in both the Title and iFrame Title fields.
-
Review and verify that the widget looks correct. If anything looks weird, check your widget settings.
Tag Your Post#
Every blog post must include at least one tag, though you probably want to use more.
- Click the Tagging Tab.
- Click in the Section box. Select at least one top-level section. Top-level section tags do NOT have a dash to the left side of the tag. Tags with the dash are children of the top-level tags. You can choose multiple section tags.
Add a Thumbnail and Summary#
Every blog post must include a thumbnail image and summary.
- Click the Summary tab.
- Click Select Image. Then click Add Image to upload your thumbnail image.
- Type a brief summary of your post in the Summary field. The summary should be a 1-2 sentence overview of what the post covers. You can make words italicized or bold, but please avoid block quotes, links, images, and lists in the summary.
Schedule Your Post to Publish#
Blog posts are not published when you save them. We do this on purpose so you never accidentally publish a blog post. When you’re ready to publish, do NOT use the checkbox unless you want your post to publish immediately.
- To schedule your post to publish at a certain date and time, use the Scheduling Options box on the right side of the screen. If the box is collapsed, click the title to expand.
- Type a date and time for your post to publish. This date must match the date in the Posted Date field under the post title.
- Click Save. Your post will publish within three hours of the time specified.