Drupal CMS News Digest

developments tricks, articles and reviews from Drupal specialists

News Categories: SEO  Design  Marketing
PreviousNext: Why we no longer use Display Suite on new Drupal 8 projects
Display Suite is a handy module we've used for a long time. However for new projects utilising Layout Builder we've found we don't need it. Swap out Display Suite for Drupal 8 core blocks with contexts! by Saul Willers / 15 May 2019 Positioning fields The main use case for Display Suite (DS) is to position fields into layouts. However, Layout Builder now offers a Drupal 8 core alternative to building layouts. As DS utilises core's Layout Discovery module switching these layouts over to Layout Builder should be fairly straight forward. Having said that, so far we've only implemented this on new greenfield sites starting from scratch with Layout Builder. Custom fields One of DS's most useful features is defining custom fields as @DsField plugins. Say we have a custom Event entity which needs custom output to format a map of that event. DsField version <?php namespace Drupal\my_event\Plugin\DsField; use Drupal\ds\Plugin\DsField\DsFieldBase; /**
 * Plugin to render a map of an event.
 *
 * @DsField(
 *   id = "my_event_map",
 *   ...
 *   entity_type = "my_event"
 * )
 */
class EventMap extends DsFieldBase {   /**
   * {@inheritdoc}
   */
  public function build() {
    /** @var \Drupal\my_event\Entity\Event $event */
    $event = $this-...
Duo Consulting: Acquia Acquires Open Source Marketing Platform Mautic
When every business has a website, how do you stand out? Because customers expect so much more from digital brands, utilizing a marketing platform is essential. Marketing automation software enables businesses to deliver personalized engagement, strengthening customer bonds and driving new business. Until recently, businesses have, by-and-large, had to rely on proprietary solutions like Marketo and Salesforce Marketing Cloud to handle their needs. Now, Acquia is looking to disrupt the marketplace. The Drupal SaaS giant has just acquired Mautic, an open-source marketing automation and campaign management platform. Now, Drupal users will have an open alternative to manage their customer experience needs. This is the latest step Acquia has taken toward their vision for an Open Digital Experience Platform. The company has been working in the content management space for years and is now turning toward a data-driven, experience management approach. With their “API-first” philosophy, Acquia hopes to offer Drupal users maximum flexibility and the ability to meet any organizational needs that may arise. This level of freedom gives marketers the chance to customize every step of the customer cycle across channels. While still a relatively young company, Mautic is a perfect fit for Acquia’s portfolio. While Acquia specializes in content management, personalization and commerce,...
OpenSense Labs: Drupal 8.7 Unleashes New Layout Builder
Drupal 8.7 Unleashes New Layout Builder Jayati Tue, 05/14/2019 - 17:53 Long awaited and much needed in the pipeline, the Layout Builder was finally launched in May 2019. With an ambition to create a content tool that can provide more power and flexibility than comparable systems, the Drupal community had been working on a super progressive visual tool for more than a year. Earlier, the digital marketers had restricted templates to work with and were not satisfied with clunky design experiences. However, in the recent launch of Drupal 8.7.0, Dries Buytaert stated that the new layout builder will be able to manipulate different types of content and unleash unique and trend setting features. The feature of layouts for templated and customised content is crucial for websites with large amounts of content.  For websites with heavy content, the Layout Builder has enhanced Drupal’s ability to handle “structured content” now. 
Originally introduced as an experimental module in Drupal 8.5, the primary focus of the layout builder was to develop a drag and drop WYSIWYG tool. Relying on a third-party software was getting painstaking for many and Drupal became one of the first CMS to take this risk. This layout builder offers full compatibility with revisions, workflows, and in-context previews. It is a single, powerful and visual design tool that creates layout...
mark.ie: A Very Simple PoC of Using Voice to Admin a Drupal Website
A Very Simple PoC of Using Voice to Admin a Drupal Website I was playing around with the SpeechRecognition API last night and thought, "wouldn't it be cool if we could use voice to administer a website?". Then, I put together this tiny proof of concept module for use with Drupal. markconroy Tue, 05/14/2019 - 12:10 Here's a short video of it in action. Ok, that looks pretty cool. Show me the code. window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition; const recognition = new SpeechRecognition();recognition.interimResults = true; recognition.addEventListener('result', e => { transcript = Array.from(e.results).map(result => result[0]).map(result => result.transcript).join(''); const statement = e.results[0][0].transcript; console.log(statement); if (statement === "voice admin new page") { window.location.href = "/node/add/page"; } else if (statement === "voice admin new article") { window.location.href = "/node/add/article"; } else if (statement === "voice admin log out") { window.location.href = "/user/logout"; } else if (statement === "voice admin go home") { window.location.href = "/en...
Electric Citizen: When to upgrade from Drupal 7
Drupal 7 was officially released in 2011, making it quite old in web years, though it still powers hundreds of thousands of websites worldwide. Drupal 8 was released in 2015, but the path to upgrading has never been an easy one for Drupal websites (prior to 8). So our recommendation for most Drupal 7 site owners has been to wait– wait until you have the time, budget and other resources needed to do a full redesign and migration to Drupal 8. But Drupal 7 isn’t going to last forever. It’s official end of life has already been decided–November, 2021. A full ten years after its original release, Drupal 7 will no longer be officially supported. What this means is no more security patches or bug fixes. It won’t just stop working, but without official support, Drupal 7 sites will become vulnerable to crashes, hacks and other vulnerabilities. There are private companies who will continue to support Drupal 7 sites after 2021 in exchange for a support contract. But officially, it will be unsupported and after 10 years of service, most sites could benefit greatly from a more modern CMS. But when is the best time to upgrade? What will it take? What are potential problems, or gains? And why should you continue using Drupal in the future? Let’s break down these questions one by one.
Phase2: Last Week’s DXP One-Two Punch
Digital experience platforms (DXPs) had a big moment this past week.
Agiledrop.com Blog: Top Drupal blog posts from April 2019
Since last month a lot of Drupalists were busy preparing for and traveling to DrupalCon, we wanted to give everyone a chance to catch up with important news and goings-on in the Drupalverse. To this end, here’s a recap of our favorite Drupal-related posts from last month. READ MORE
Web Omelette: Using Drupal 8 filters to render the markup that you want in a clean way
I’ve been working on a Drupal 7 to 8 migration of content and I encountered in the source body fields a bunch of tables which had a class that styled them in a certain way. One of the requirements was clearly to port the style but improve it using the Bootstrap tables styles and responsiveness. What to do, what to do. In the source file I was encountering something like this: <table class="some-class">...</table> Which you can argue is not that bad, it only has one class on it and an external style does the job. But obviously it would be better if the stored data didn’t even have that class. So then in the migration I could just kill all the table classes from the body field and apply those stylings externally (all the tables inside the body field). This is a first good step. But what about Bootstrap? I needed something like this instead to pick up Bootstrap styles: <table class="table table-sm table-striped table-hover">...</table> So to make the tables show up with Bootstrap styles I’d have to step on my earlier point of not storing the table classes in the body field storage. Even if I could somehow alter the CKEditor plugin to apply the classes from the widget. And not to mention that if I wanted responsive tables, I’d have to wrap the table element with a <div class="table-responsove">...</div>. So even more crap to store. No. Then it...
Promet Source: Invent Your Own Development Methodology
Having a process to follow when it comes to website planning and development is essential. The following considerations factor into successful development.  Choosing a Method Planning and Development Goals Choosing a Methodology Influencing Development Methodology   Choosing a Method  
Morpht: Drupal 8 Configuration - Part 2: How the API works
Background We live in an age of Drupal complexity. In the early days of Drupal, many developers would have a single Drupal instance/environment (aka copy) that was their production site, where they would test out new modules and develop new functionality. Developing on the live website however sometimes met with disastrous consequences when things went wrong! Over time, technology on the web grew, and nowadays it's fairly standard to have a Drupal project running on multiple environments to allow site development to be run in parallel to a live website without causing disruptions. New functionality is developed first in isolated private copies of the website, put into a testing environment where it is approved by clients, and eventually merged into the live production site. While multiple environments allow for site development without causing disruptions on the live production website, it introduces a new problem; how to ensure consistency between site copies so that they are all working with the correct code. This series of articles will explore the Configuration API, how it enables functionality to be migrated between multiple environments (sites), and ways of using the Configuration API with contributed modules to effectively manage the configuration of a project. This series will consist of the following posts: Part 1: The Configuration API Part 2: How the API works Part...
Matt Glaman: A proper introduction to Drupal Check
A proper introduction to Drupal Check Sunday 12, May 2019 mglaman You may have heard of Drupal Check. You may wonder what in the world it is or how it even came to be. I realized this went from an internal research and development task for a product, to open source contribution and then to an essential tool in the march toward Drupal 9. The timeline from January to DrupalCon in April has been pretty crazy, and I realized I have never done a proper blog post about Drupal Check.
Matt Glaman: ContribKanban 2019 update
ContribKanban 2019 update Saturday 11, May 2019 mglaman It seems that I do a roughly annual update for ContribKanban and what I plan on doing with it. This year I evaluated its future and roadmap and how it can be more useful for the community at large.
Chapter Three: Gated resources forms with webform and token
On several occasions clients have come to us asking for a form with a gated resource. They want the  resource (.pdf, .doc, .xls etc.) to be available to download after the user fills a form. In exchange for the visitor's valuable information, we provide them a file. This is easily achievable in Drupal 8 with the Webform and Token modules.  At the time of creation of this blog post, I used Drupal version 8.7.0.
Vasily Yaremchuk: I have switched my Drupal 8 site to a static HTML site with Tome
I have switched my Drupal 8 site to a static HTML site with Tome Many years ago I made my personal page on Drupal 7, as soon as Drupal 8 was released I have upgraded to this version. My personal site is just a page with my contacts and my blog.  In truth, I do not always have enough time to write posts to my blog, as well as keep the core and modules up to date. Some times between the huge projects I have a frame to share my experience and to make some support tasks and improvements.  So more than 99% of its life my personal site works as a simple static HTML site. Does it make sense to use Drupal as a backend?  Let's imagine the site is static at any time except the time when I want to edit it... And it's possible with Tome. It's Drupal 8 module. You can get more information on the official site tome.fyi. Let me show you my personal site abzats.com. It's a static HTML site. I don't have the permanent version of this site either hosted somewhere or locally. But I have a private repository of my Drupal site with configurations and content in flat files.  Tome module allows exporting configurations in .yml files and content in .json files as well as install Drupal with those files without operating with the DataBase dump. I have decided to put some changes on the site. I need to get the site locally, log in Drupal admin, make changes and generate a new...
wishdesk.com: New Drupal Media Library interface: managing media with joy
The blend of usability and attractiveness exists — this is Media Library in Drupal 8.7 core. That’s what comes to mind when we see Drupal Media Library’s updated UI. Managing media on websites will now be easier and more enjoyable than before! Drupal Media Library allows you to:
Roy Scholten: No one-offs
Sub title Things seen here are configured there. /sites/default/files/styles/large/public/things-shown-here-configured-there.png?itok=qSZb6N0L An elaboration on underlying considerations that make simple suggestions as this one not so simple after all. An important consideration when deciding whether to “add something to core” is that generally speaking, core doesn’t do one-offs. The underlying principle is not “make it do X” but “make it possible to make it do X (and X2, X3,…) Linking from a create context to a configuration context In this particular case we have a proposal to link to the screen where you can add new content types from the page that lists available content types to create content with. Or, in url speak: on /node/add, put a link to /admin/structure/types. Or once more: on the screen that lists existing content types that you can create content with, add a link to the screen that lets you define new content types. Notice the distinction between “create content of type X” and “define a new type of content Y”. The first is a content creation task, the second is a content definition task (in Drupal jargon usually captured under “site building”). This distinction then should clarify why a link to define a new content type should not use the “blue + button” pattern on a screen that is in service of a...

Twitter Followers
Tweets Impressions Monthly
Facebook Followers
Pinterest Followers

35,3K
61,4K
1,710
4,202

Alexa Global Rank
Alexa Rank in US
Keywords Tracked
Updated

502,8K
912,8K
2,288
Sep 17 2019