drupal

Porting scanner module to D8 - Part 1

Submitted by Christian Crawford on Mon, 05/06/2019 - 11:35

This is the first part in a series of posts that I have written on this topic. In this first post I will discuss the reasons why I ported the module to Drupal 8 and some of the more basic module code (YAML files and forms). In the next post I will go over the Plugin system, how to write a custom Plugin, and how to implement the Batch API.

What I learned from porting the scanner module

Submitted by Christian Crawford on Thu, 05/02/2019 - 17:05

Introduction

I was recently given a requirement by a client in which they wanted content authors to be able to find and replace instances of words across potentially every piece of content in the site. This is a request that I've received in the past and have been able to solve the problem with relative ease. In Drupal 7 (D7) there is a module called scanner, which does exactly what they needed.

Creating a React Application with Headless Drupal 8

Submitted by Troy Kearney on Tue, 03/28/2017 - 15:43
For this tutorial I will go over how to setup a Drupal 8 site with RESTful services as well as setting up a simple React application which will retrieve a list of Articles and allow for the creation of articles for logged in users with the proper credentials. Before working with React we will need to configure Drupal to provide us with some RESTful services.

Drupal pre-reqs: What you need to know before you start learning Drupal

Submitted by Jitesh Doshi on Sat, 10/22/2016 - 09:43

I gave a presentation on Drupal pre-reqs: What you need to know before you start learning Drupal at DrupalCamp Atlanta on October 22nd, 2016. See below for the abstract of the presentation, and all the resources, including the slides and screencast videos.

Abstract

Best approaches to Drupal migration

Submitted by Christian Crawford on Wed, 04/01/2015 - 10:19

Migrating content and its linkages between sites has always been one the more difficult tasks to master in the world of Drupal. In the past, site builders and developers would have to write lots of code to set up the migrations and field mappings. Migrating between Drupal sites is not quite as daunting of a task as migrating a site from another CMS, since many of the entities will be similar across sites, but is challenging none the less.

hiding user "history" and "member for" information from prying eyes

Submitted by Jitesh Doshi on Tue, 10/07/2014 - 22:16

In Drupal, sometimes, you want to share user profiles with the world, but then they can also see the "History" and the "Member for" information about your users. If that information is not what you want to show the world, then all you have to do is implement hook_preprocess_user_profile and apply appropriate permissions to it.

Tags

Display of different Views depending on the logged in User

Submitted by Mark Tsibulski on Mon, 10/06/2014 - 01:09

Have you ever desired to have display of different View filter criteria depending on the user's role? There are two ways of achieving this, I will explain both the ways in this article. 

In following example, I want to show 4 search criteria to a user with administrator role: Event title, Date of Event, Location, Event status.  Further, I want to show two search criteria to all other roles: Event title and Location (shown in below images) . 

Subscribe to drupal