Sometimes, you would want to restrict access to certain pages on your site to users who do not have a specific role. You would want users to upgrade to a paid plan. Or you would just want to collect some more information from them.
The Rabbit Hole module controls what should happen when a user clicks the link to the entity or enters a URL in the address bar. It redirects such users to another page in the site.
The Rabbit Hole module works with different types of entities. They could be nodes, users, taxonomy terms and files, to name a few.
This tutorial will explain the basic usage of this module. Let’s start!
For many years, web developers have relied on WAMP, MAMP, XAMPP and other local development tools. However those tools have some severe limitations, particularly if you're working in a team environment.
The navigation speeds up the search of your users within your site. With CSS Flexbox, it is quite practical to code a basic navigation bar without the need of using floats or complicated pixel calculations.
Keep reading this tutorial in order to learn how. Let’s start!
Say "hello" to the 13th book from OSTraining. We're delighted to announce the launch of "Flexbox Explained" by Jorge Montoya and Steve Burge.
Flexbox Explained is a fun and enjoyable introduction to Flexbox.
Over the last fifteen years, Steve and Jorge have worked as web designers. It's been a fascinating time.
For many years, the most popular way to design websites was with frameworks such as Bootstrap and Foundation. We needed these frameworks because they added many essential features. The core features of CSS weren't enough for modern web development.
The CSS Flexbox Specification is a CSS module that gives you great flexibility when creating layouts.
CSS Flexbox is an elegant and lightweight approach to layouts. It can be used without installing an extra frameworks or libraries.
Flexbox is different from the regular layouts because you can lay out items inside a flex container in all possible directions. This means that your layouts can be organize top to bottom, bottom to top, left to right or right to left.
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.
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.
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.