DrupalEasy: DrupalEasy Podcast 205 - Fatima Khalid - First time sprinter's guide

Planet Drupal - 12 February 2018 - 3:47am

Direct .mp3 file download.

Fatima Khalid (sugaroverflow), web developer with Digital Echidna, and DrupalCon Nashville track chair and sprint mentor joins Mike Anello to talk about how to be a first-time sprinter at a local Drupal event or a DrupalCon and how she came for the community and stayed for the code. Along the way, we talk about Canadian Cheerios, the importance of issue queue triage, and (alleged) creepy monkey guy.

Interview DrupalEasy News Upcoming events Sponsors Follow us on Twitter 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.

Categories: Drupal

Lucius Digital: Drupal 8 development: always redirect all logged out visitors to the login page

Planet Drupal - 12 February 2018 - 3:11am
Login or get out!

Currently we are busy constructing the production of a realtime messaging platform in Drupal and NodeJS, look at it as a ‘WhatsApp for Business’. This Drupal system works like a web app; logging in is mandatory. How do you make sure that logged out visitors must log in to Drupal 8 before they are allowed to continue?

Drupal has many out-of-the-box functionalities, as well as a powerful API, but because it has so many functions many tracks are standardly available for anonymous visitors. We’d want to make all paths unreachable, until you log in.

That means that visitors always will be redirected to the login screen as long as they aren’t logged in. You wouldn’t want an anonymous user reaching internal news on the homepage.

Redirect URL in Drupal 8

Basically, we want all url’s / paths be made unavailable for non-logged in visitors, except explicitly specified pages like:

  • Login (/user)
  • Forgot password (/user/password)
  • Login link (user/reset/login)

in Drupal 7 you could use the module Logintoboggan for that purpose. You could also easily work around it in hook_init() or hook_boot() in a custom Drupal 7 module.


This was quite a puzzle, and we soon found some examples as well as exceptions. Everytime it didn’t work how we wanted it to. This example was the most useful.

Implementation in Drupal 8

Eventually, we got it working with the help of following code in a custom Drupal 8 module:


put this file in your module root, and format

Put the file RedirectAnonymousSubscriber.php in folder /src/EventSubscriber/ and do your custom thing:

This code builds on symfony’s EventSubscriber, the framework on which Drupal8 has been built.

Wrap up

Alright, that’s it. I hope the information as described will help you to always redirect visitors to the login page. Questions or feedback? Let me know!

Drupal 8 development: always redirect all logged out visitors to the login page was originally published in Lucius Digital | Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.

Categories: Drupal

Logout Redirect

New Drupal Modules - 12 February 2018 - 1:22am

If you log out of a Drupal site and then hit the back button,
you can see pages from the authenticated user's previous session.

This could be a problem on public computers, if the authenticated user
had permission to see content protected by node access (or similar).

So the logout redirect module is designed to stop this behaviour.

Categories: Drupal

Fuzzy Thinking: Pro Tip #5

RPGNet - 12 February 2018 - 12:00am
Fuzzy GMs like to smile.
Categories: Game Theory & Design

OSTraining: Should I Re-use Existing Drupal Fields?

Planet Drupal - 11 February 2018 - 9:14pm

Sometimes we're able to give really clear advice: "Do this!" or "Don't do that!"

This is not going to be one of those blog posts.

Drupal gives you the ability to re-use fields. If you have an "Image" field, you could choose to use that same field on every content type on your site.

However, it's not always clear whether re-using fields is a good idea. Sometimes it is, sometimes it isn't.

Here's an overview of the advantages and disadvantages to consider before re-using Drupal fields.

Categories: Drupal

Cloudmersive NSFW Unsafe/Inappropriate Image Blocker

New Drupal Modules - 11 February 2018 - 1:23pm

This module integrates with the Cloudmersive NSFW Image Detecting API.

Uploaded files are forwarded to the Cloudmersive NSFW/Unsafe Image service and checked for NSFW (Not Safe For Work)/Inappropriate/Sexual/Unsafe content using advanced machine learning.

Unsafe/inappropriate/sexual/offensive is blocked in the validation routine, so that it cannot be saved - protecting your site.

Getting Started
Getting started with Cloudmersive Image Blocker is easy. Just follow these steps:

- Install and enable this module

Categories: Drupal

Lifesize Video Call Module

New Drupal Modules - 11 February 2018 - 10:03am

The Lifesize Video Call Module will generate a block which will contain incoming call link for the Lifesize cloud service. You will need to provide your 7-digit Lifesize Video ID as a module setting after you drop it into any availale container.

Categories: Drupal


New Drupal Modules - 11 February 2018 - 5:11am
Categories: Drupal

Event Hook API

New Drupal Modules - 11 February 2018 - 12:05am

Coming soon.

Categories: Drupal


New Drupal Modules - 10 February 2018 - 8:33pm

A module to convert your Drupal installation into an online market place where sellers can sign-up and offer their products.
More information to follow suit.

Categories: Drupal

Dummy - Common Module

New Drupal Modules - 10 February 2018 - 7:40pm

This is dummy project uploaded to check the flow of uploading a project to

Categories: Drupal

ADCI Solutions: Top Design Trends for 2017-2018

Planet Drupal - 10 February 2018 - 6:39pm

Development and design always go hand in hand, and our Drupal development team pays a lot of attention to design trends so that we can visualize our solutions in the most beneficial way.

Our lead web designer has come up with a cool review on design trends for 2018. Read and implement!


Check design trends for 2018


Categories: Drupal

Entity Generic

New Drupal Modules - 10 February 2018 - 11:00am

Entity Generic is a set of extra features for core Entity system.
These features are experimental, not for production use.
The work is in progress.

Categories: Drupal

Review Roundup

Tabletop Gaming News - 10 February 2018 - 11:00am
Helloooooooo, Saturday. You know you’re my favorite. I hope the other days of the week get jealous, but you’re just so great. Time to put on some appropriate music and relax… and probably play some games, too. I plan on doing that as well. But, before I go do that, I gotta make sure the […]
Categories: Game Theory & Design

Commerce Product Review

New Drupal Modules - 10 February 2018 - 4:47am

Commerce Product Review provides review feature for Drupal Commerce products.


Commerce Product Review depends on Drupal Commerce of course, given a strict dependency on commerce_product and commerce_price sub modules.

This module is only available for the Drupal 8 version of Drupal Commerce!

Categories: Drupal

Posse API

New Drupal Modules - 10 February 2018 - 4:21am

Posse API aims to make creating a Posse capable platform for Drupal easier that it currently is, condensing much of the configuration steps into a centralized module that can then leverage the power of Drupal 8's Plugin API and RestFUL APIs to empower decoupled platforms.

Categories: Drupal

Corporate Login

New Drupal Modules - 10 February 2018 - 3:00am

Corporate Login Module helps you to reduce the registration process within the same corporate users.

For Example, Let us assume a Corporate name called "ABC". Now one user is getting registered by using his / her corporate email address called "" on the website and add his account as Corporate account in the backend configuration by the administrator.


1) Copy corporatelogin directory to your modules directory.

Categories: Drupal

Braintree Cashier

New Drupal Modules - 9 February 2018 - 5:38pm

Braintree Cashier enables recurring subscriptions for Drupal websites. It is inspired by Laravel's Cashier Braintree project and borrows some of it's software architecture. The customer facing UI was inspired by Laracasts.

Categories: Drupal

Braintree API

New Drupal Modules - 9 February 2018 - 5:09pm

This is an API module to enable using the Braintree API in your custom module. After configuring your API keys at /admin/config/services/braintree_api you can use the Braintree API after injecting the braintree_api.braintree_api service into your custom class.

Categories: Drupal

DrupalCon News: You should stay at a DrupalCon partner hotel. Here’s why.

Planet Drupal - 9 February 2018 - 3:12pm

The hotels we chose are a perfect hub connecting you to a rewarding DrupalCon experience. It’s also a great way to show up for the community.

Categories: Drupal


Subscribe to As If Productions aggregator