Lndr (8.x-1.x) module installation

Step 1 - Install the Drupal 8 module
There are a number of ways to install the module. Most commonly place the module into your Drupal website’s sites/all/modules directory. You can also refer to Drupal’s documentation here (https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...) You should enable the Lndr module as seen below:

(http://www.yourwebsite.com/admin/modules)

Drupal - PHP version compatibility check

When we are upgrading PHP version or switching from one hosting to another hosting provider, we may need to check the PHP version compatibility. We can check the compatibility with PHP codesniffer. It will provide you the warnings or errors while checking the compatibility. Below document will help us to do the compatibility check.

Pre requisites:

Drupal Commerce order quantity limitations with Rules

I needed a while to set up some order quantity restrictions in Drupal Commerce and I've seen many different questions and issues on how to do such things. So here's what I did:

Tasks

  1. Set a line items order limit (quantity of same product)
  2. Set a product order limit (quantity of different products)

Requirements

Restoring the administrator role to user 1 (or anyone else)

As of Drupal 8.5.0, user 1 can be stripped of its power by removing the Administrator role from the account. If you happen to have removed the Administrator role from the last account that had it, there are special steps you can take to restore it so you have an admin account again.

Using drush

Simply type drush urol administrator --uid=1 to restore the Administrator role to user 1.
For more options regarding the user-add-role (urol) command, please type drush help user-add-role

Drupal 8 Blueprints

Sub-title: 
Step along the creation of 7 professional-grade Drupal sites
Authors: 
Publisher: 
Packt Publishing
Publication date: 
2017-09
Page count: 
276
ISBN-13: 
978-1785887567

Drupal is an open source content management framework that can be used for developing websites and simplifying online management of content for users.

This book is a must-have for web developers who are looking to create professional-grade websites using Drupal 8. While building 7 different Drupal websites, we will focus on implementing the out of the box features that come with Drupal 8 and see how we can make some complex sites with minimal custom code.

Focusing completely on Drupal 8, this book will help you leverage the new Drupal 8 features such as creating a different types and layouts of content using configuration to build in core with its built-in web services facilities, and effortless authoring using the new CKEditor with an effortless and efficient industry standard approach.

The book starts with getting started with the development environment of Drupal. Each chapter will start with a brief overview of the site to be built and the required features. Then, we will proceed to create customized modules and themes and integrate third-party plugins. Lastly, you will learn about "headless" Drupal that uses RESTful services that would help you to display content outside of Drupal

By the end of the book, you will be able to implement the knowledge gained to build your own custom websites using Drupal 8.

Pages

Subscribe with RSS Subscribe to RSS - Site administrators