Drupal CMS News Digest

developments tricks, articles and reviews from Drupal specialists

News Categories: SEO  Design  Marketing
Don't Panic: A blog about Drupal: Automatic image compression in Drupal
"A picture is worth more than a thousand words". True, but a large picture will make your webpage slower, which will affect your SEO in a negative way. And eat away at your servers space, megabyte after megabyte. There are several ways to remedy such a behaviour, but one way is to use image compression services to save space. With online services or programs on your computer you can remove unnecessary information and compress images with sometimes up to 80% gain. Here I'm going to show you how to integrate the TinyPNG service in your Drupal installation which automatically compresses your images. TinyPNG There are many different services on the internet, but one of the best I have found is TinyPNG - and it's supereasy to implement on your Drupal site. It's also super easy to see if you can benefit from using their service. If you visit their Page Analyzer and enter your site url, you will be presented with statistics. If you are over 25% savings, I would suggest you start using a compression service. Step 1: Installing the Drupal module By using composer to install the module and the TinyPNG library, it's super easy to get started. Type composer require drupal/tinypng in your terminal. Composer downloads the module, places it in the correct folder and downloads its dependency - TinyPNG PHP Library - and places it in the vendor folder.   Head into your Drupal...
Web Wash: Managing Media Assets using Core Media in Drupal 8
A lot of media functionality has been added into Drupal core over the last few releases. First, we got the Media module in 8.5 which offers fieldable media types. Then we got the Media Library module which offers a popup where users can select media assets. Now for Drupal 8.8 and above you have the ability to embed media assets directly into the editor. There are three important parts when it comes to media functionality. You need the following: Store media assets (media types) Reuse media assets (media library) Embed media assets As of Drupal 8.8+,  the above-mentioned functionality is all supported in Drupal core without installing any extra modules. This functionality could be achieved before Drupal 8.8 by using Media entity, Entity embed and Entity browser. But required a fair bit of site-building and configuring. However, now all you need to do is install Media and “Media Library” and you’re good to go. In this tutorial, you’ll learn how to create and manage assets, using the Media field and Media library. Then we look at how to embed assets directly in the editor. We finish things off by creating a custom media type to manage Instagram posts.
Specbee: CSV Import to Migrate Drupal 7 to 8 - A complete guide
CSV Import to Migrate Drupal 7 to 8 - A complete guide Maithri Shetty 11 Feb, 2020 Top 10 best practices for designing a perfect UX for your mobile app A Drupal 7 to 8 migration is anything but boring because there are so many ways to perform a migration! Depending on the complexity of the project, we can choose a technique that suits it best. The one we are going to discuss in this blog is to migrate content and configuration from Drupal 7 to Drupal 8 using a CSV import method. Drupal provides various modules for importing data from different sources like JSON, XML and CSV. Drupal 8 core migration API system offers a whole suite of APIs that can essentially handle any kind of a migration from a previous version of Drupal to Drupal 8.  Some prep Work before the Drupal 7 to 8 migration In order to migrate from Drupal 7 to Drupal 8 using CSV import, we will need these modules. Drupal 7 Modules - Views Data export: This module needs to be installed in our Drupal 7 site. The Views Data export module helps in exporting the data in CSV format. Views Password Field: This module helps to migrate passwords which will send passwords in hashed format.  Drupal 8 Modules - Migrate – The Drupal 8 Migrate module helps in extracting data from various sources to Drupa 8...
Community Working Group posts: Mental Health First Aid Training at DrupalCon Minneapolis
The Drupal Community Working Group (CWG) is pleased to announce that registration is now open for a full-day Mental Health First Aid workshop on Sunday, May 17, 2020 (the day before DrupalCon Minneapolis begins) in Bloomington, Minnesota.  The workshop will be held "field trip" style; it will be held off-site, at the Health Counseling Services facility in Bloomington, Minnesota, from 8:30am-5pm. Transportation will be provided to and from a location near the Minneapolis Convention Center (the site of DrupalCon) to the workshop. Following the workshop, attendees are invited to (optionally) attend a pay-on-your-own group dinner to decompress and discuss the day's workshop. The CWG believes that these types of proactive workshops will help improve our community's mental health literacy and awareness, as well as making it easier for us to have open, honest, and respectful conversations and potentially spotting signs of when community members are in need of assistance. The Drupal Association is generously sponsoring the workshop by providing funding to help defer the cost of the workshop as well as providing transportation.  From the Mental Health First Aid website: Mental Health First Aid is a course that gives people the skills to help someone who is developing a mental health problem or experiencing a mental health crisis. The evidence behind the program demonstrates that it...
Jacob Rockowitz: Webform module now supports variants, which can be used for A/B tests, segmentation, and personalization
Problem/MotivationTo perform A/B testing, segmentation, and the personalization of a webform, a site builder needs to create a variant of the form that can be triggered based on certain contexts, which can be as simple as a custom URL.A webform variant might alter a form's labels, descriptions, and even its confirmation page. A webform variant could be used to create an A/B test to confirm if a tweak or improvement to a form's user experience increases the rate at which the user completes a form. A basic A/B test would randomly load two variants, allow a defined number of users to complete the form, and then review the results to determine which variant had the highest completion rate. The most successful variant can then be permanently applied to the webform.A webform variant can also be used to create a personalized webform based on a user's demographics. For example, webform's available inputs, labels, and even options could be altered based on a user's gender, age, locale, employer, etc. Even subtle tweaks can improve a form's user experience - for example, removing inappropriate disease options or inputs based on a user's gender can simplify an appointment request form.Solution/ResolutionRight now, the one out-of-box solution is to create multiple instances of a webform and route users to the appropriate webform. The biggest issue with having multiple webforms is that, in...
Evolving Web: Growing the Drupal Community in 2020
Growing the community is the implicit goal of every Drupal meetup and event I attend. It's a constant topic of conversation at Drupal event organizing meetings, agency roundtables, and panels about recruitment and selling Drupal. Last year, I created a presentation for DrupalCamp Atlanta called "Growing the Drupal Community". Since then, it's been my hallway track conversation of choice, and everyone I talk to seems onboard with the goal of growing Drupal. As part of my role on the Drupal Association board, I'm chairing the Community & Governance Committee. We've been having lots of conversations about facilitating community growth, and I wanted to share some of what I've been thinking. Our Target Audiences By definition, if we want to grow Drupal, that means talking to people outside the Drupal-sphere. So who would we be targeting?   Decision makers selecting a technology (Marketing/Communications and IT) Developers and technologists curious about Drupal Drupal users who aren't active in the community Users who inherit a Drupal project Agencies who are using Drupal for the first time People looking to switch careers   These are who I think of when I think of growing the community. It's important to remember that we're not just talking to developers or decision makers, but people from a wide range of backgrounds. The Drupal community is made up of designers, project...
Srijan Technologies: 7 Tips to Keep SEO Intact When Migrating to Drupal 8
Drupal, one of the prominent WCMS in the world, delivers its services to giants like AL-Jazeera, URRWA, and Georgetown University. Having an impressive network of committed developers, it makes up as a robust, flexible, scalable, and highly secure WCMS for small and big businesses alike. Migrating to Drupal 8 can prove a nice pull for enterprises if they are looking to enhance their workflow efficiency, however, the move must be undertaken with utmost care.
DrupalEasy: DrupalEasy Podcast 223 - New format - Leslie Glynn, Mauricio Dinarte
Direct .mp3 file download. We debut a new podcast format, and talk with Leslie Glynn about the Aaron Winborn Award and Mauricio Dinarte about Drupal 8 migrations. URLs mentioned https://www.drupal.org/aaron-winborn-award https://understanddrupal.com/migrations https://events.drupal.org/minneapolis2020/training/drupal-8-content-mig… https://www.drupal.org/project/migrate_upgrade DrupalEasy News Drupal Career Online - the 12-week (3 half-days/week) best-practice focused training program begins February 24, 2020. Learn more at our free Taste of Drupal webinars February 19. Professional local development with DDEV - 2-hour, hands-on, online workshop held monthly (Tuesday, March 3). Local Web Development with DDEV Explained Florida DrupalCamp 2020 - February 21-23, 2020. MidCamp Composer Basics workshop - Wednesday, March 18, 2020. Sponsors MyDropWizard.com - Long-term-support services for Drupal 6, 7, and 8 sites. Subscribe Subscribe to our podcast on iTunes, Google Play or Miro. Listen to our podcast on Stitcher. If you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our contact page.
1xINTERNET blog: 1x2020 Digital Trends
1x2020 Digital Trends Baddý Sonja Breidert 09. February 2020 Welcome to 2020! At 1xINTERNET we are really looking forward to an exciting year ahead.  One of the benefits of working with a variety of amazing clients, from different industries is that we can see firsthand where companies are investing their time and energy when it comes to their digital strategy. In this blogpost we share what digital trends we see for the year 2020 and where our focus will be.
Srijan Technologies: Performance Optimization for Drupal Websites- Intermediate Level
With performance being a continuous bottleneck for enterprises trying to deliver an exceptional digital experience to customers and please search engines, this blog will serve as a sight to the sore eyes. 
BADCamp News: Jump into BADCamp: Sponsorships, Hotels, and Trainings, Oh My!
Jump into BADCamp: Sponsorships, Hotels, and Trainings, Oh My! Fri, 02/07/2020 - 12:00 vclewis Fri, 02/07/2020 - 15:51 We hope to see you in Berkeley October 14th - 17th, 2020, for this year’s BADCamp! If you’re ready to get a jumpstart on community participation, we’ve got some ideas to get the BADCamp vibes going: Drupal Planet
eiriksm.dev: Geography in web page performance
New year, new possibilities, as we say in Norway. Which is why I have relaunched my blog using Gatsby.js. I could write a blog post about that, but I am not going to do that today. There is a lot of tutorials on how to set that up (one of my personal favorites is this one from Lullabot), and there is even an official page in the Gatsby.js documentation. I could probably write many blog posts about different aspects I tweaked and looked at in the migration, but one field I feel is not often talked about is geography and performance. With regards to servers, many (at least basic) Drupal sites are probably geographically limited by the actual server that is supposed to serve the web requests, and the location of this particular server. With a static site, made for example with Gatsby.js, you can deploy it to a Content Delivery Network (CDN) and have the same static html files on servers all around the world. This could mean that a website visitor from Tokyo to your static site could get a response from a server in Tokyo. The traditional Drupal site however might be on a server in Ireland, and then a visitor from Tokyo would quite often have to send their request all around the world to get responses. This idea is not very new. In fact, there are several providers that let's you deploy your static site on their CDN (more or less) for free. They will then serve your static HTML...
Drupal.org blog: What’s new on Drupal.org - January 2020
Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community. Project News Get Ready for Drupal 9 Are you wondering what it will take to upgrade to Drupal 9? Good news - it's going to be easier than any other major version upgrade in Drupal's history. The upgrade to Drupal 9 is just like any other Drupal upgrade, except that the new codebase has updated key dependencies Drupal relies on and removed deprecated code. As long as all the modules and custom code you use don't rely on deprecated code - you should be good to go. As it turns out, many contributed or even custom modules only need a one-line change to be ready for Drupal 9. You can use these community created tools to check the status of your modules: the upgrade status module, or the Drupal Check command line tool. In many cases, you may just need to remove some deprecated code in favor of the more modern implementations. Drupal Rector can provide you with automated fixes for many of these deprecations.  Still getting to grips with Composer? If you're still getting to grips with using Composer after the changes in Drupal's 8.8.0 release, don't worry - there's help to be found. The community has extensively documented the different scenarios a site owner may find themselves in with this update. If you've previously used...
DrupalCon News: Plan your stay at a DrupalCon partner hotel
The handful of hotels we have selected in Minneapolis each offer an ideal hub — connecting you to a rewarding DrupalCon community experience. This year, choose from multiple Hiltons, a Hyatt, a Holiday Inn and more as part of our special DrupalCon attendee offerings. Why is staying at a DrupalCon partner hotel great for you and the community? Read on:
Droptica: Creating Custom Drush 9 Commands in Drupal 8
In Drupal 8.4.X and later releases, Drush 9 is the only supported and recommended version. One of the key changes introduced in this version is a new model of writing custom Drush commands. From now on, .inc files are obsolete and you will no longer use them for your commands, which are now classes based on AnnotatedCommand format. The underlying structure of a module containing your custom Drush command will look as follows: ​  
Lullabot: Lullabot Podcast: Putting your Drupal site on the shelf with Tome
Tome is a suite of Drupal modules that can make your site into secure, fast, static HTML.  Long story short, you can use Drupal in the same way you would use other static site generators like Jekyll or Hugo - everything lives in one repository, and Drupal only runs on your local machine. The creator, Sam Mortenson tells us everything we need to know.

Number of Total Worldwide Registered Domains Updated: Feb 17 2020