Stephen Burge's Blog, page 15
June 13, 2019
How to Build User Profiles With Fields in Drupal 8
By default, a Drupal 8 user account collects only very basic information about the user.
And, most of that information is not visible to visitors or other users on the site.
Fortunately, Drupal makes it easy to modify and expand this profile so that people can add useful information about themselves such as their real name (versus a username), address, employer, URLs, biography, and more.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
And, most of that information is not visible to visitors or other users on the site.
Fortunately, Drupal makes it easy to modify and expand this profile so that people can add useful information about themselves such as their real name (versus a username), address, employer, URLs, biography, and more.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 13, 2019 08:49
June 12, 2019
Give a Unique Look to Your Google Maps in Drupal
Google Maps don't look appealing or pretty by default when you embed them in your Drupal content. Nor do they always nicely coordinate with your site look and feel.
What if you found a way to give them a custom design? For example - your own color? In this tutorial, you will learn how to give your Drupal Google Maps a custom style with the Styled Google Map contrib module.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
What if you found a way to give them a custom design? For example - your own color? In this tutorial, you will learn how to give your Drupal Google Maps a custom style with the Styled Google Map contrib module.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 12, 2019 23:44
How to Log In to Drupal Without the Login Block
This is actually quite a common question from our students. They start building their Drupal site. Then they go to work with their blocks or menus.
Then they accidentally disable the "Log in" menu link. There is no "Log in" link displayed on the site anymore. Neither for them nor for their visitors.
In this short tip, you will learn how to login to your Drupal admin page in such situation.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
Then they accidentally disable the "Log in" menu link. There is no "Log in" link displayed on the site anymore. Neither for them nor for their visitors.
In this short tip, you will learn how to login to your Drupal admin page in such situation.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 12, 2019 22:09
June 11, 2019
How to Integrate Telegram Chat With Drupal 8
Telegram is an easy to use free chat application that is rapidly winning fans all over the world.
There is a Telegram plugin for WordPress but there is not yet a Telegram module for Drupal.
In this tutorial, you will learn how to integrate the Telegram app with your Drupal 8 site using JavaScript from Re:plain.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
There is a Telegram plugin for WordPress but there is not yet a Telegram module for Drupal.
In this tutorial, you will learn how to integrate the Telegram app with your Drupal 8 site using JavaScript from Re:plain.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 11, 2019 23:29
There's a New Version of the CSS Grid Explained Book
CSS Grid is revolutionizing webdesign
For the last two decades, we've relied on CSS to lay out websites, but it has always been missing some key functionality. We've relied on workarounds such as tables, floats, and positioning.
CSS Grid is different and better.
CSS Grid allows you to create a grid-based layout system, using columns and rows. You don't have to use any workarounds. You don't have to use different hacks for different browsers. You don't have to install any extra frameworks.
Because it's such a useful tool, we wrote CSS Grid Explained. CSS Grid Explained is a fun, practical introduction to CSS Grid. This was the 10th book from OSTraining, and also one of our most popular. So we've been working on big updates for the book.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
For the last two decades, we've relied on CSS to lay out websites, but it has always been missing some key functionality. We've relied on workarounds such as tables, floats, and positioning.
CSS Grid is different and better.
CSS Grid allows you to create a grid-based layout system, using columns and rows. You don't have to use any workarounds. You don't have to use different hacks for different browsers. You don't have to install any extra frameworks.
Because it's such a useful tool, we wrote CSS Grid Explained. CSS Grid Explained is a fun, practical introduction to CSS Grid. This was the 10th book from OSTraining, and also one of our most popular. So we've been working on big updates for the book.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 11, 2019 10:22
June 7, 2019
Directly Upload and Link Files to the Text Editor Content in Drupal 8
One of Drupal’s big advantages is its possibility to structure content with the use of fields. However, from time to time you will want to link a file to your content without the need of adding a field to the database for that purpose.
The D8 Editor File Upload module provides this functionality by adding a button to the toolbar of the rich text editor (in this case CKEditor). This way it is possible to upload a file and present it within the content as a link. This tutorial will expĺain the usage of this module.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
The D8 Editor File Upload module provides this functionality by adding a button to the toolbar of the rich text editor (in this case CKEditor). This way it is possible to upload a file and present it within the content as a link. This tutorial will expĺain the usage of this module.
Let’s start!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 07, 2019 17:54
How to Use the New Pre-Publish Checks in WordPress
It's amazing how much has been written about the new Gutenberg editor for WordPress.
But many people haven't really started to the use Gutenberg in the daily publishing workflow. As a result, Gutenberg is still full of semi-secret features.
One such feature is the "Pre-Publish Checks" screen in Gutenberg. When you click "Publish" on a post, you'll now see the sidebar shown below. WordPress asks "Are you ready to publish?" and encourages you to double-check your settings:
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
But many people haven't really started to the use Gutenberg in the daily publishing workflow. As a result, Gutenberg is still full of semi-secret features.
One such feature is the "Pre-Publish Checks" screen in Gutenberg. When you click "Publish" on a post, you'll now see the sidebar shown below. WordPress asks "Are you ready to publish?" and encourages you to double-check your settings:
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 07, 2019 01:20
June 6, 2019
How to Moderate and Schedule Revisions in WordPress
WordPress has one of the most powerful revision systems available on any blogging platform.
When you start writing in WordPress, your changes will be automatically and safely saved. And, if you want to compare your current version of a post to an old version, WordPress gives you an easy side-by-side comparison. The image below shows a revision comparison in WordPress - the old content is marked in red and the new content is in green.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
When you start writing in WordPress, your changes will be automatically and safely saved. And, if you want to compare your current version of a post to an old version, WordPress gives you an easy side-by-side comparison. The image below shows a revision comparison in WordPress - the old content is marked in red and the new content is in green.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 06, 2019 21:10
June 3, 2019
CSS Flexbox #10. The flex Shorthand Property
In the previous tutorials of the "CSS Flexbox" series, you learned that the flex-grow property specifies how items expand relative to each other to fill up the available remaining space within the flex-container.
You also learned that flex-shrink sets how items shrink relative to each other if there is not enough space available within the flex-container. The flex-basis property assigns a fixed, ideal width (or height) to the flex-items.
All these properties can be summed up in one shorthand property, the flex property.
Let’s take a look at an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
You also learned that flex-shrink sets how items shrink relative to each other if there is not enough space available within the flex-container. The flex-basis property assigns a fixed, ideal width (or height) to the flex-items.
All these properties can be summed up in one shorthand property, the flex property.
Let’s take a look at an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 03, 2019 12:41
CSS Flexbox # 10. The flex Shorthand Property
In the previous tutorials of the "CSS Flexbox" series, you learned that the flex-grow property specifies how items expand relative to each other to fill up the available remaining space within the flex-container.
You also learned that flex-shrink sets how items shrink relative to each other if there is not enough space available within the flex-container. The flex-basis property assigns a fixed, ideal width (or height) to the flex-items.
All these properties can be summed up in one shorthand property, the flex property.
Let’s take a look at an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
You also learned that flex-shrink sets how items shrink relative to each other if there is not enough space available within the flex-container. The flex-basis property assigns a fixed, ideal width (or height) to the flex-items.
All these properties can be summed up in one shorthand property, the flex property.
Let’s take a look at an example!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on June 03, 2019 12:41