Skip to main content
Start of main content.

Our blog

Welcome to our growing knowledge base.

Panel layout basics to free you from Core's block

Like everything in Drupal, there is a slight learning curve when you make the leap to using Panels for your Drupal sitebuilding. This article aims to give you a brief and broad introduction to theming practices used when using Panels and its popular helper modules as your main site-building tools.

Front-End Developer

Controlling Access to Drupal 8 Routes with Access Checks

In the previous post, I looked at how to put together a basic route controller in Drupal 8, and restrict access by specifying permissions. But there are my situations where basic permissions aren't enough.

In Drupal 7 we had procedural access callbacks. In Drupal 8 we now have AccessCheck services.

This post takes you through how to use the new AccessCheck interface to provide a custom access checker for your routes.

Using Drupal 8's new route controllers

As part of the Web Services and Context Core Initiative, traditional procedural page callbacks were converted to shiny new Object Oriented route controllers. 

In this post, we cover the basics of creating a route controller, and how to pass in dependencies using dependency injection.

In following posts, we'll look at how to convert Drupal 7 custom access callbacks, to the new AccessCheckInterface, as well as dynamic routes.

Twigging Out at DrupalCon Portland

I spent most of this year's DrupalCon in the CoderLounge sharing tables with up to 20 other volunteer contributors profiling Twig.  We were making sure Twig could be merged into Drupal 8 without slowing it down. By Friday I had only managed to get a simple documentation patch committed, but I learned a lot about the contribution process, made some friends, and had a great time!

Front-End Developer

Understanding Drupal 8's Modal API and Dialog Controller

It is common knowledge that Drupal 8 contains Views module, thanks to the work from the Views in Drupal Core (VDC) initiative.

Our contribution to the VDC initiative was working on abstracting Views UI's modal pattern into a generic modal API in core.

Recently one of the coolest pieces of this API was committed to core.

You can now load any content in a modal simply by adding a class and an attribute to any link.

Sound cool? Read on to learn more.

How to handle embedded images when migrating content from Plone to Drupal

If you are migrating your content from an existing system which uses a WYSIWYG editor, you'll likely have a bunch of embedded images in your content which might seem like a daunting task to update. Here's how we approached it using Migrate, Migrate Extras and Media modules and the Simple HTML DOM library.

Drupal Developer

The Bundaberg Boys

Two gun developers in Queensland have helped broaden PreviousNext's Drupal security and administration expertise over the past year.