Get Involved: Ways to Contribute to Drupal, No Experience Required

There are many ways to contribute to an open source project like Drupal, and not all of them require a deep understanding of programming or web development. Some examples of ways to contribute include: How to Contribute to Drupal - Ways for Everyone to Get Involved Testing and reporting bugs: This can be done by looking through the issue queue on Easy Breadcrumb and look for issues that are marked “Needs Review”.

Read On →

Unleash the Power of Drupal 9 Routing: Create Custom Routes with Page Callbacks & Debug Like a Pro

Routes in Drupal are a powerful tool to programatically execute code and build custom pages for tasks such as custom forms and data processing. However, Routes rely on learning a few key concepts and they can be tricky to learn at first. So, lets break them down step by step. How do I create a route with a page callback in Drupal 10? To create a route file with a page callback in Drupal, you can follow these steps: Create a new file in your module’s src/Routing directory, named module_name.routing.yml.

Read On →

Creating the Empty Front Page Module for Drupal 9 with Chat GPT

An empty front page in Drupal can be a useful feature for many websites. Whether you want to use the front page for blocks or simply want to direct users to other pages of your website, an empty front page can be a great way to control the user experience on your website. In this blog post, we will discuss: How an Empty Front Page Works An empty front page in Drupal is simply a page that does not display any content.

Read On →

Migrating a website from Drupal 7 to Drupal 9

This is a guest post by Kana Patrick who is a world-class Drupal migration expert. The end of life of Drupal 7 is getting closer and every day more and more website owners are starting the migration. This process is not easy and almost always takes a long time. I recently migrated a client’s site from Drupal 7 to Drupal 9. The purpose of this article is to share with you my modest experience.

Read On →

Creating Patches from Drupal Merge Requests

Drupal.org has used patches to manage community contribution for many years. But, patches are difficult for new users to learn and require the use of the command line. Recently, Drupal.org code has migrated to Gitlab, and we can now use Gitlab and Drupal.org issues to create merge request to share code and fixes with modules and Drupal Core. But, how do you use the code on your site immediately? Create a patch file and upload it to the issue on Drupal.org.

Read On →

Drupal Merge Requests using Gitlab!

Drupal.org has used patches to manage community contribution for many years. But, patches are difficult for new users to learn and require the use of the command line. Recently, Drupal.org code has migrated to Gitlab, and we can now use Gitlab and Drupal.org issues to create Merge Requests to share code and fixes with modules and Drupal Core. Here’s an overview of creating a merge request for folks who want all the details.

Read On →

Drupal Maintainer's Initiative

With the launch of Drupal 9, the community is rallying to update all of the community contributed modules from Drupal 8 to Drupal 9. This work is often just a single line of code to tell Drupal that the module supports 9. But, for older, out of date modules, the work required to get to Drupal 9 is a bigger effort. Some of these modules haven’t been updated in 4 years.

Read On →

Content Modeling in Drupal 8

In many modern frameworks, data modeling is done by building out database tables. In Drupal, we use a web-based interface to build our models. This interface makes building the database accessible for people with no database experience. However, this easy access can lead to overly complex content models because it’s so easy to build out advanced structures with a few hours of clicking. It’s surprising how often Drupal developers are expected to be content modeling experts.

Read On →

Drupal 8 Admin Best Practices

Drupal sites often suffer from a less than ideal editor experience. While Drupal 8 improves on the default experience by providing inline editting, working preview, and moving the ‘advanced’ options to the sidebar, there’s still common mistakes that will lead to poor a experience. As a part of my on-going Drupal 8 Best Practices series, lets look at what we can do to build good admin interfaces. Here are a few major principles behind the admin experience: Use as few content types as reasonable.

Read On →

Drupal 8 Theming Best Practices

The theming guide for Drupal 8 will get you started in the basics for theming a Drupal site. But, once you’ve learned the basics, what best practices should you be applying to Drupal 8 themes? There are lots of popular methods for writing and organizing CSS. The basics of CSS, of course, apply to Drupal. Don’t get too specific Place your CSS in the header and JavaScript in the footer Organize your CSS well Theme by patterns, don’t go top down Preprocess your styles Use configuration first When it comes to Drupal, there are some common mistakes that happen when a front end developer doesn’t know Drupal.

Read On →