Codekarate Content

By shane
Wed, 2019-09-11 23:11
Daily Dose of Drupal Episode #232

The Drupal 8 SVG Image module changes the image field widget to allow for SVG images to be uploaded on your Drupal 8 website. This module also allows you to set the width and height of the image as well as choose if the image should be displayed as an or tag.

By shane
Mon, 2019-09-09 23:47
Daily Dose of Drupal Episode #231

The Drupal 8 Menu Item Extras module brings the power of fields to the Drupal menu system. By default, menu items are not fieldable. This means if you needed to add additional information to a menu item, you can’t do it with out of the box Drupal.

This Menu Item Extras module makes it easy to add fields to your menu items as well as customize the view and form display (just like you can on other entities). By using this module you can do things such as:

By shane
Sun, 2019-09-08 12:02
Daily Dose of Gatsby Episode #5

In this episode, you will learn about the Gatsby Image component and how it can be used to better process and display images on your Gatsby site. Properly loading and displaying images can be a pain to make sure you get right on your website. Gatsby makes it easy by providing an image component and some additional plugins. After watching this video, you will have your images loading efficiently with a nice blur up effect.

By shane
Sat, 2019-09-07 19:35
Daily Dose of Gatsby Episode #4

In this episode, we pick up where we left off last time and cover how to create lists of content on your Gatsby site by pulling data from a Drupal 8 website. You will learn:

  1. How to filter and sort your GraphQL queries using GraphiQL explorer
  2. How to create a list of your content
  3. How to break up your list page into subcomponents
By shane
Fri, 2019-09-06 10:03
Daily Dose of Gatsby Episode #3

In this episode, we learn how to set up your Gatsby website to pull data from Drupal. We will cover:

  1. Setting up JSON:API on your Drupal site
  2. Installing the gatsby-source-drupal plugin
  3. Configuring the gatsby-source-drupal plugin
  4. Use GraphiQL to view your Drupal data
  5. Load Article nodes using gatsby-node.js
  6. Create Article Template to pull in Article data
By shane
Thu, 2019-09-05 19:02
Daily Dose of Gatsby Episode #2

In this episode, we dive into components a bit more and learn about Layout components as well as create our own Header component. We also look at how to link between pages on your GatsbyJS website. This episode covers:

  1. Components and subcomponents
  2. Props in React
  3. The Gatsby Link component
By shane
Wed, 2019-09-04 19:52
Daily Dose of Drupal Episode #230

The Drupal 8 Field Defaults module is a handy little module that allows you to bulk update the default values of a Drupal field. This is helpful if you have ever added a field to a content type or entity and wished you could have the default value apply to all the existing content on your Drupal site.

By shane
Tue, 2019-09-03 08:56
Daily Dose of Gatsby Episode #1

In this episode, we introduce the Daily Dose of Gatsby and walk through spinning up a new Gatsby site. We go over some important Gatsby concepts and files to provide an overview of how the Gatsby build process works. Some of the topics we cover in this episode include:

  1. Creating a new Gatsby Site
  2. Learning about JSX
  3. Overview of page components

Here is a link to the Gatsby Docs page on getting your development environment set up.

By shane
Mon, 2019-09-02 13:19
Daily Dose of Drupal Episode #229

The Drupal 8 Allowed Formats module allows you to configure what text formats are available for each field. By default, all the text formats a user has permission to use are available for every field that uses text formats. Sometimes you want a field to have html, but have a more limited set of html tags. This can easily be accomplished by creating a new text format and using the Allowed Formats module to limit the field to using that text format.

By shane
Sun, 2019-09-01 21:11
Daily Dose of Drupal Episode #228

The Drupal 8 Scheduler module allows content editors on your Drupal site to schedule the publishing or unpublishing of content at a specific date and time. It’s a very simple module to setup and use, and provides a great feature for your content editors that want content to go live at a specific time.