Drupal CMS News Digest

developments tricks, articles and reviews from Drupal specialists

News Categories: SEO  Design  Marketing
Nonprofit Drupal posts: January Drupal for Nonprofits Chat
Happy New Year!!! Our normally scheduled call to chat about all things Drupal and nonprofits will happen Thursday, January 16, at 1pm ET / 10am PT. (Convert to your local time zone.) This month, in addition to our usual free-for-all, we'll be talking about Drupal and CiviCRM.  Have you got it up and working your Drupal 8 site? For those of us still working in Drupal 7, what can or should we doing to prepare for the inevitable upgrade? What are your favorite resources for working with these two systems?  Come share your experiences! Feel free to share your thoughts and discussion points ahead of time in our collaborative Google doc: https://nten.org/drupal/notes We have an hour to chat so bring your best Drupal topics and let's do this thing! This free call is sponsored by NTEN.org but open to everyone. REMINDER: New call-in information -- we're on Zoom now! Join the call: https://zoom.us/j/308614035 Meeting ID: 308 614 035 One tap mobile +16699006833,,308614035# US (San Jose) +16465588656,,308614035# US (New York) Dial by your location +1 669 900 6833 US (San Jose) +1 646 558 8656 US (New York) Follow along on Google Docs: https://nten.org/drupal/notes Follow along on Twitter: #npdrupal View notes of previous months' calls.
Chromatic: Managing Your Lando Database with PHPStorm, Sequel Pro, and the Command Line
This blog post shows you how to access your lando databases using tools like PHPStorm, Sequel PRO and Command Line.
Specbee: Top Drupal 8 Modules You Absolutely Need For your next Drupal project
Top Drupal 8 Modules You Absolutely Need For your next Drupal project Shefali Shetty 07 Jan, 2020 Top 10 best practices for designing a perfect UX for your mobile app You’ve just freshly installed Drupal 8 on your computer and you are really looking forward to
getting your website up and running fast. You want all those amazing features you have heard
about of Drupal 8. So, what do you do next? Pick your Drupal 8 modules! Coz modules are the
building blocks of any great Drupal mansion.
Of course, it isn’t as simple as it sounds. Drupal 8 is powered by its ever-growing open-source
community who work hard to develop thousands of modules that can enhance and extend the
functionality of a Drupal website. Choosing out of thousands of Drupal 8 modules can be a
backbreaker.
Luckily for you, many significant contributed modules from Drupal 7 have made their way to
Drupal 8 core. Which means, you will only need to enable these modules once Drupal 8 is
installed. Let’s dive into a short list of top Drupal 8 modules you must have to build great digital
experiences. Following that, we’ll talk about how to pick your Drupal 8 modules. Admin Toolbar Module The Drupal Admin Toolbar module is extremely useful for better...
Srijan Technologies: Step-by-Step Guide to Create PWA with React in Drupal 8
We’ve already discussed in our previous blog, how Progressive Web Apps (PWAs) are trending and making web apps load faster, ensuring exceptional user experience.
Kris Vanderwater: Using Drush to Simulate ContentHub 2.x Syndication
Using Drush to Simulate ContentHub 2.x Syndication Kris Vanderwater 6 January 2020 Read more about Using Drush to Simulate ContentHub 2.x SyndicationAdd new comment In my last blog, I talked a bunch about some of the basics of our development efforts around Acquia ContentHub 2.x. There's a lot more I'd like to discuss about that module and the efforts our team has put into it, but one of the comments I got on twitter specifically asked about the Drush commands we packaged with 2.x, how they're used, and what you can do with them, so in an effort to both continue discussing the good work of the team, and the capabilities of the product, I'm going to dedicate this blog to that topic.
Evolving Web: React Native vs. Flutter: Top Mobile Development Frameworks for 2020
"There's an app for that." We hear this often because it's true. In today's hyper-connected world, offering mobile apps for your business or services have become an expectation. According to Statista, the total number of mobile apps on Apple and Google's app stores are 1.8M and 2.47M respectively. It's now the norm to build apps that support both platforms. But native apps have always been an issue for businesses due to the costly development cycle. Then comes cross-platform technology, which enables developers to build and maintain a single code base for applications that can be published across multiple platforms.    At Evolving Web, we specialize in web development using Drupal and recently extended our offerings to include mobile solutions. We developed mobile applications using React Native that could be seamlessly integrated to Drupal 8 using modules such as JSON:API or SimpleOAuth, and also implemented third party services such as Firebase or Amplify to enhance the mobile experience with features like push notification or real-time data synchronization.    We have been actively researching and experimenting with cross-platform technologies and have learned that while they can save a lot of development time and costs, they also present new challenges. Here's a quick overview of the pros and cons of cross-platform technology: Pros Write once, run anywhere: developers don'...
OSTraining: 3 Modules to Enhance Drupal 8 Layout Builder
When Layout Builder was introduced into Drupal 8 Core, it gave Site Builders a tremendous amount of flexibility previously reserved for Front End Developers (or Themers).  While it represents a major leap for Drupal, there are still some shortcomings in the module, and that's where some great additional contributed modules are really helping. In this blog post, we will highlight three of the best modules currently available.  (Note: more are being added all the time!). For a complete list of contributed modules for Layout Builder, visit https://www.drupal.org/docs/8/core/modules/layout-builder/additional-modules.
Srijan Technologies: The Fundamentals of Caching in Drupal 8
It is known that page load time is one of the important aspects of search engine result position. Site speed is what stands between the website and the potential user.
Caring for old links
I decided to use the holiday break to do a link audit for my personal blog. I found hundreds of links that broke and hundreds of links that now redirect. This wasn't a surprise, as I haven't spent much time maintaining links in the 13 years I've been blogging. Broken links Some of the broken links were internal, but the vast majority were external. "Internal links" are links that go from one page on https://dri.es to a different page on https://dri.es. Fixing broken links feels good so I went ahead and fixed all internal links. It's a different story for external links. "External links" are links that point to domains not under my control. For example, in 2007 I thanked Sun Microsystems for donating a Sun Fire X4200 server to the Drupal project. In my post, I linked to http://www.sun.com/servers/entry/x4200, the Sun Fire X4200 product page. Sun has since been acquired by Oracle, the page has been removed, and the link is now dead. I saw the following options: change this particular link to point to (1) a Wikipedia page on the Sun Fire series, (2) an archived copy of the original page on archive.org, or (3) remove the link. In this case, I decided to update the link to point to Wikipedia. Some sites that I link to have since been hijacked by porn sites. The URL used for Hillary Clinton's 2008 campaign website now points to a porn site, for example. This is...
OpenSense Labs: Creating your own Twig Extension in Drupal
Creating your own Twig Extension in Drupal Anmol Mon, 01/06/2020 - 12:37 The templating engine of Drupal 8 has seen a massive turnaround. Unlike Drupal 7, there’s Twig in Drupal 8 instead of PHPTemplate. Twig is basically a templating language for PHP i.e a tool used to output variables inside HTML. Fabien Potencier, the creator of the Symfony framework, gave life to Twig. Contrary to Drupal 7, you cannot call the regular PHP functions in your templates in Drupal 8. he way forward, in Drupal 8, is to create filters and functions.
Twig extension gives more flexibility to process nearly anything inside the twig. Twig can be extended in many ways such as tags, filters, operators, global variables, and functions. One of the major plus points of creating a twig extension in Drupal 8 is in the view. Drupal 8 views can often be more challenging in the case where you want to perform operations on the value or need to process the content in the field. When you need to write code often, try to reuse it rather than writing it from scratch every time. You must use a filter when you want to transform the data you want to display. Imagine you have a title that you always want to be capitalized. For example, twig has the capitalize filter that allows you to transform any text into its equivalent in uppercase. I came across Twig Extension during one of my E-...
hussainweb.me: An easier way to get the current node in a block plugin in Drupal 8
It is over a year since I wrote how to get the current node in a block plugin and promised to write a follow-up post with an easier method. Well, better late than never, here it is! The previous method works, so why bother with another method? In short, it’s less code and less code is easier to maintain. Also, instead of doing all the work to get the node and set the correct cache contexts/tags, it is better to let Drupal handle that for us.
OSTraining: How To Manage Image Styles for Media in Drupal 8
For years, Drupal site builders have endured a less than great experience with any media they wanted to use.  It was difficult to manage and reuse images; let alone video, audio, and other media.  A number of excellent contributed modules tried to bridge that gap in Drupal 7; however Drupal 8 committed to having a media manager in core.   As of December 2019, that wait is over with the Media module now officially out of "experimental" and fully integrated into Drupal core.
joshics.in blog: Drupal 8: Update to 8.8 in five minutes
Drupal 8: Update to 8.8 in five minutes bhavinhjoshi 03/01/2020 03/01/2020 Twitter e-Mail Pinterest Facebook Finally, we are one more step closer to Drupal 9. In order to make your Drupal 8 website ready for Drupal 9, you will need to update your existing website to Drupal 8.8, the latest stable release in 8.8.x branch. This branch removes all the incompatible APIs and prepares your website for Drupal 9. And which is why, It is highly recommended that you update to 8.8. Before you start with the update, make sure you take backup of your website (code base & DB) or preferably, carry out this process on a staging site or on your local Drupal 8 set up. For this, it is assumed that you have composer installed for your Drupal 8 environment. Modify compser.json   The first step is to modify composer.json manually.
1. Unset / empty “replace”: {},
2. Remove "merge-plugin" entirely.
3. Append

“App\\”: “app/”,
“”: ”src/”

to “autoload” Once you are done with modifying the composer.json, it is time to execute a few commands with composer on CLI. Execute composer commands
composer remove webflo/drupal-core-strict --no-update
composer...
OpenSense Labs: ‘Terraform’-ing with Drupal
‘Terraform’-ing with Drupal Shankar Fri, 01/03/2020 - 11:23 If you look up the word ‘terraform’ in the Oxford English Dictionary, the meaning that you find may make you reminisce about some of the science fiction movies or TV series you have watched or heard of. And you may start wondering if something like ‘terraforming’ is actually possible. Transformation of another planet to make it Earth-like, which is what terraform means, would seem like a glorious idea. As there’s always a ‘but’ associated with any brilliant thought that we have, this terraforming of Mars or any other planet is not possible with the current technologies, says NASA.
Anyway, on Earth, terraforming is possible. (Although this is in no way referring to the tackling of climate change, it would be nice to see some strong measures being taken). Earth, our home, is witnessing a wave of digitisation all around in this 21st century. Amongst different digital innovations that are happening, one of the open-source tools, which is incidentally, and rightfully, named Terraform, is here to metamorphose the web arena. And Drupal web application infrastructure can reap the benefits of Terraform to a great extent. Infrastructure As Code with Terraform
To better understand Terraform, let’s start with an example where you are hosting a Drupal site on AWS. Managing the infrastructure here is...
Symphony Blog: Remove /web part from a Composer based Drupal site
Ok, the problem is clear: Your composer based Drupal site put code base to the /web folder You are using a shared hosting which maps your primary domain to /public_html, and you can't change that Now your users will have to browse your site as http://example.com/web . And it is not cool. So how to serve your site from the subfolder /public_html/web but removing the /web suffix so it becomes transparent to users? read more
Lullabot: Emailing Users About Content Activity in Drupal 8
Site owners and administrators often want to send email to users telling them about content creation or changes. This sounds basic, but there are lots of questions. What exactly needs to be accomplished? Some examples could include:

Number of Total Worldwide Registered Domains Updated: Jan 20 2020