Yesterday,... - News from Planet Drupal
If a user needs to create an account on a Drupal site, they go to the user registration page at "/user/register". This page is the registration form on a Drupal site. You can customize it by adding or removing fields. But what if you want to have multiple registration pages?
Let's say you have two different roles on your Drupal site and you need a separate form for each role. How would you build that?
You could handle all of this writing custom code but remember we're using Drupal... - News from Planet Drupal
In an older article we looked at how to render an entity form programatically using custom form display modes. Fair enough. But did you ever need to combine this form with a few form elements of yours which do not have to be stored with the corresponding entity?... - News from Planet Drupal
This is going to be a simple exercise to create a decoupled site using Drupal 8 as the backend and an Elm app in the frontend. I pursue two goals with this:
- Evaluate how easy it will be to use Drupal 8 to create a restful backend.
- Show a little bit how to set up a simple project with Elm.
We will implement a very simple functionality. On the backend, just a feed of blog posts with no authentication. On the frontend, we will have a list of blog posts and... - News from Planet Drupal
During the past few CharDUG (Charlotte Drupal User Group) meetings, I realized that we have a real need to help our existing... - News from Planet Drupal
I started Hosted Apache Solr almost 10 years ago, in late 2008, so I could more easily host Apache Solr search indexes for my Drupal websites. I realized I could also host search indexes for other Drupal websites too, if I added some basic account management features and a PayPal subscription... - News from Planet Drupal
Have you ever been building a form and found yourself wishing that you could insert additional help text - or even other forms of content (images, video) inline with the form? While each field's "Description" field is useful, sometimes it isn't enough.
The Markup module solves this problem in an elegant way by providing a new "Markup" field type.
Drupal... - News from Planet Drupal
The Content Moderation core module was marked stable in Drupal 8.5. Think of it like the contributed module Workbench Moderation in Drupal 7, but without all the Workbench editor Views that never seemed to completely make sense. The
This blog has been re-posted and edited with permission from Dries Buytaert's blog. Please leave your comments on the original post.
As web applications have evolved from static pages to application-like experiences, end-users'... - News from Planet Drupal
I'm sometimes asked for an overview of my general approach to PatternLab. Simple: put everything for each component in the same directory!