Lullabot: Drupal Governance with Megan Sanicki and Whitney Hess

Planet Drupal - Fri, 2017/06/02 - 7:00pm
Matt and Mike interview Drupal Association Executive Director Megan Sanicki, and Drupal community discussion facilitator Whitney Hess about the history, present, and future of Drupal governance.

DrupalCon News: DrupalCon Vienna t-shirts are back! - but there’s a catch.

Planet Drupal - Fri, 2017/06/02 - 6:15pm

Remember how we are making changes to DrupalCon Europe? These were hard decisions and some things we love we found just weren’t financially viable. Like free t-shirts. But one thing we heard a lot was “please don’t take away the t-shirts!”  

We heard you. And while it doesn't make financial sense to give free t-shirts to all attendees, we still want to be able to continue to offer them. So we’ve come up with a plan.


Drupal Association blog: DrupalCon Vienna t-shirts are back! - but there’s a catch.

Planet Drupal - Fri, 2017/06/02 - 4:42pm

Remember how we are making changes to DrupalCon Europe? These were hard decisions and some things we love we found just weren’t financially viable. Like free t-shirts. But one thing we heard a lot was “please don’t take away the t-shirts!”  

We heard you. And while it doesn’t make financial sense to give free t-shirts to all attendees, we still want to be able to continue to offer them. So we’ve come up with a plan.   

At DrupalCon Vienna, t-shirts will be offered to the following groups:

  • Individual Drupal Association members who register for DrupalCon Vienna between 5 - 16 June 2017. You must register in this two week window AND be an individual member of the Drupal Association.

  • Volunteers who work at least four (4) hours onsite in Vienna 26 - 29 September. You must check the volunteer box during registration and must show up on site to volunteer for four (4) hours or until released by event staff.

  • Volunteers as part of the DrupalCon Program Team

  • Sprint Mentors

The fine print FAQ

I’m already a member, how do I make sure that I'll get a shirt?

If you are already an individual member, you get a t-shirt! BUT you MUST register in the first two weeks of ticket sales. Registrations after 16 June will not receive a t-shirt, member or not.

I’m not a member, can I do that during registration and still get a shirt?

Yes. If you are not a member you can become an individual member during your conference registration. You will be presented with a page during check-out that gives you the option to become a member.

I already registered but JUST saw this post! What do I do?

If you are a true early bird and register in the two weeks, but somehow missed this news post until after registering - that’s ok. As long as you become a member before the end of 16 June and you’ll still get a t-shirt.

The registration didn’t say anything about t-shirts or ask for my t-shirt size? What’s up?

After the 16 June cut-off date, eligible registrants will receive an email confirming their t-shirt along with a link to select their t-shirt size.

You got a session selected? Great!

We’ll refund your registration amount (but not your membership) and you get to keep the t-shirt. Our regular no-refund policy applies to all other sales.

You’re part of an organization that is buying a bulk amount of tickets for employees? Lucky you.

Your organization should provide you with an individual redemption code. You’ll need to redeem your individual registration before 16 June AND also be an individual member of the Drupal Association in order to get a t-shirt.


Sudhanshu Gautam | Blog: GSoC 17 | Community bonding wrap-up

Planet Drupal - Fri, 2017/06/02 - 6:30am
GSoC 17 | Community bonding wrap-up sudhanshu Fri, 06/02/2017 - 10:00
Categories: frontpage posts: Ready, Set, Code - GSoC 2017 starts now!

Planet Drupal - Thu, 2017/06/01 - 8:44pm

Did you know Drupal was accepted into Google Summer of Code 2017 and that Drupal selected 8 projects? In other words, Google is funding 8 people to contribute to Drupal for 10 weeks worth ~$40,000 USD (thank you Google!). Congratulations to selected students who collectively became one of the top 20 contributing organizations on (list @ Proud to note that all GSoC 2017 students have already become core contributors!

Majority of projects are focused on work related to Drupal 8 contributed modules. Drupal's students are all from Indian except one student from the UK, we currently have 15 mentors from 10 countries with over 100 years of experience on As always, we're excited about this summer and we hope community members will provide an extra helping hand if you see students in issue queues. GSoC runs from May 30th through August 21st 2017. Learn more about our projects below.

Project: A Module for client-side File encryption to implement a zero-knowledge system
Student: Tameesh Biswas “tameeshb” (India)
Mentors: Colan Schwartz “colan” (Canada), Adam Bergstein “nerdstein” (USA), Talha Paracha “talhaparacha” (Pakistan)

Project: Adding support for Theleague oauth and new implementers for social auth and social post
Student: Himanshu Dixit “himanshu-dixit” (India)
Mentors: Getulio Sánchez “gvso” (Paraguay), Daniel Harris “dahacouk” (UK)

Project: Client-side public-key encryption module for Drupal 8
Student: Marcin Czarnecki “marncz” (UK)
Mentors: Colan Schwartz “colan” (Canada), Adam Bergstein “nerdstein” (USA), Talha Paracha “talhaparacha” (Pakistan)

Project: Complete porting of Examples for Developers Sub-modules to D8
Student: Abhishek Lal “AbhishekLal” (India)
Mentors:  Navneet Singh “navneet0693” (India), Vaibhav Jain “vaibhavjain” (India)

Project: Creating a great geospatial experience in Drupal 8 by porting and enhancing the Search_Api_Location module
Student: Dibyajyoti Panda “dbjpanda” (India)
Mentors: Nick Veenhof “Nick_vh” (Belgium), Thomas Seidl “drunken monkey” (Austria), Joris Vercamen “borisson_” (Belgium)

Project: Port "Vote up/down" module to Drupal 8
Student: Sudhanshu Gautam “sudhanshug” (India)
Mentors: Marco Villegas “marvil07” (Peru), Palash Vijay “palashvijay4O” (India)

Project: Integrate Google Cloud Machine Learning Engine to Drupal 8
Student: boby aloysius johnson “boaloysius” (India)
Mentors: Jingsheng Wang “skyredwang” (China), Naveen Valecha “naveenvalecha” (India)

Project: Port Uc wishlist module to Drupal 8
Student: Chiranjeeb Mahanta “chiranjeeb2410” (India)
Mentors: Naveen Valecha “naveenvalecha” (India)

Find us on IRC in #drupal-google to join the fun. Interested in mentoring or have questions about this initiative? Contact Drupal's Organization Admin "Slurpee" (USA) with any questions.


Mediacurrent: Comparing Drupal and Adobe Experience Manager (Part 2 of 2)

Planet Drupal - Thu, 2017/06/01 - 4:39pm

This is Part 2 of 2 of my Drupal vs Adobe Experience Manager (AEM) blog post. In the first part, I've compared the two from the perspectives of content authoring, marketing, and business. In this part, I look at the two from an IT and community perspective. I also need to repeat my disclaimer that I'm a long-time Drupalist, but in this blog post I endeavor to be even-minded and objective.


Acquia Developer Center Blog: From imagination to (augmented) reality in 48 hours

Planet Drupal - Thu, 2017/06/01 - 4:21pm

Every spring, members of Acquia's Product, Engineering and DevOps teams gather at our Boston headquarters for "Build Week". Build Week gives our global team the opportunity to meet face-to-face, to discuss our product strategy and roadmap, to make plans, and to collaborate on projects.

Tags: acquia drupal planet

Acquia Developer Center Blog: Announcing OpenEDU: An open source Drupal distribution for higher education

Planet Drupal - Thu, 2017/06/01 - 3:05pm

When organizations are able to save time and money during development, they are able to devote more resources to strategic and innovative initiatives. The ability to jumpstart development and extend invaluable resources is especially important to institutions of higher education.

OpenEDU is a pre-configured Drupal 8 implementation that is specifically built for higher education institutions. It enables universities to accelerate the development of sites by providing a “kickstart” set of features.

Tags: acquia drupal planet

Chapter Three: A Better Website Editing Experience with Modular Content Components

Planet Drupal - Thu, 2017/06/01 - 12:26pm

The editorial experience is a critical and often overlooked part of website development. A weak editorial experience means slower site updates. Without a robust and intuitive content creation process, editors lose motivation to keep their site up to date. Our modular content creation process makes it quick and easy for editors to create content while providing front-end users with a rich visual experience.

What Are Modular Content Components?

Modular Content Components are a powerful way for website editors to quickly add new sections and send article content to multiple distribution channels in a single step. Drupal sites with Modular Content Components make it easy to add new distribution channels and send custom formats to each.

Categories: Blog: AGILEDROP: Drupal Blogs from May

Planet Drupal - Thu, 2017/06/01 - 11:07am
As the time goes by, our blog activities don't rest. We have written quite a lot of blog posts about Drupal for you in the past month. Therefore, it' time to look at the topics we covered in May. We decided that we will focus on the biggest Drupal Conference, which took place in Baltimore. Therefore, we began our month with Case studies from DrupalCon Baltimore. We looked at who had sessions in that area and what they have presented to the audience. Since we promised that we will be more informative about where we will be and on which Drupal event we will go, we continued the month with… READ MORE

Dries Buytaert: From imagination to (augmented) reality in 48 hours

Planet Drupal - Thu, 2017/06/01 - 9:31am

Every spring, members of Acquia's Product, Engineering and DevOps teams gather at our Boston headquarters for "Build Week". Build Week gives our global team the opportunity to meet face-to-face, to discuss our product strategy and roadmap, to make plans, and to collaborate on projects.

One of the highlights of Build Week is our annual Hackathon; more than 20 teams of 4-8 people are given 48 hours to develop any project of their choosing. There are no restrictions on the technology or solutions that a team can utilize. Projects ranged from an Amazon Dash Button that spins up a new Acquia Cloud environment with one click, to a Drupal module that allows users to visually build page layouts, or a proposed security solution that would automate pen testing against Drupal sites.

This year's projects were judged on innovation, ship-ability, technical accomplishment and flair. The winning project, Lift HoloDeck, was particularly exciting because it showcases an ambitious digital experience that is possible with Acquia and Drupal today. The Lift Holodeck takes a physical experience and amplifies it with a digital one using augmented reality. The team built a mobile application that superimposes product information and smart notifications over real-life objects that are detected on a user's smartphone screen. It enables customers to interact with brands in new ways that improve a customer's experience.

At the hackathon, the Lift HoloDeck Team showed how augmented reality can change how both online and physical storefronts interact with their consumers. In their presentation, they followed a customer, Neil, as he used the mobile application to inform his purchases in a coffee shop and clothing store. When Neil entered his favorite coffee shop, he held up his phone to the posted “deal of the day”. The Lift HoloDeck application superimposes nutrition facts, directions on how to order, and product information on top of the beverage. Neil contemplated the nutrition facts before ordering his preferred drink through the Lift HoloDeck application. Shortly after, he received a notification that his order was ready for pick up. Because Acquia Lift is able to track Neil's click and purchase behavior, it is also possible for Acquia Lift to push personalized product information and offerings through the Lift HoloDeck application.

Check out the demo video, which showcases the Lift HoloDeck prototype:

The Lift HoloDeck prototype is exciting because it was built in less than 48 hours and uses technology that is commercially available today. The Lift HoloDeck experience was powered by Unity (a 3D game engine), Vuforia (an augmented reality library), Acquia Lift (a personalization engine) and Drupal as a content store.

The Lift HoloDeck prototype is a great example of how an organization can use Acquia and Drupal to support new user experiences and distribution platforms that engage customers in captivating ways. It's incredible to see our talented teams at Acquia develop such an innovative project in under 48 hours; especially one that could help reshape how customers interact with their favorite brands.

Congratulations to the entire Lift HoloDeck team; Ted Ottey, Robert Burden, Chris Nagy, Emily Feng, Neil O'Donnell, Stephen Smith, Roderik Muit, Rob Marchetti and Yuan Xie.


Hook 42: Roping in TextWrangler

Planet Drupal - Thu, 2017/06/01 - 12:53am

As Hook 42's Community Evangelist, I frequently venture into the prairie of Drupal documentation. It's not quite the Wild Wild West, but having a solid text editor in my holster keeps me saddled up and ready to ride.

Since I don't venture too far off the ranch into programming, I don't really have the need for a heavy IDE (Integrated Development Environment). I just need a tool that works on my Mac, writes with no fancy characters, and has the ability to do some basic formatting. TextWrangler definitely keeps me from squatting on my spurs, and the best part - it's free!


Lullabot: Running Behat Tests in a Vagrant Box

Planet Drupal - Wed, 2017/05/31 - 6:01pm

For a while now, Vagrant has been my local development environment of choice. It’s great for a lot of reasons but sometimes working in what is essentially a remote environment, has its challenges. One such challenge is running Behat Tests in a native browser like Chrome with Selenium.

Behat tests are the bee's knees. They are especially so when you can see your tests executed automatically in your desktop browser for easy debugging:

Videos require iframe browser support.

However, if you use Vagrant for local development you often lose the benefit of visualizing your test run because many off-the-shelf boxes you find on the internet are configured to run Behat tests using headless browsers like PhantomJS or headless Firefox with xvfb. It's certainly easier to get set up running your tests using PhantomJS, but it doesn’t have to be this way:

Videos require iframe browser support.

You can configure your Behat tests to run in your desktop browser so you can see everything. You can even get fancy and set breakpoints in your tests using an IDE like PHPStorm, halting the browser execution and giving you the opportunity to pop open Chrome dev tools or the like to really understand what’s going on during your test.

This article assumes a few things:

  • Local development environment using Vagrant for your Drupal site
  • Familiarity with Behat and Selenium
  • Chrome for running the tests

If you’re unfamiliar with Behat, Selenium and/or Vagrant, they are awesome, and you should check them out. Also, while we’re going to use Chrome here, you could use any browser supported by Selenium and your host operating system. Onwards.


There are a few things to get set up. Following is a diagram to help you understand the interaction between all the pieces as a way to visualize what you need:


The above diagram shows the test suite run by Behat (1) on the Vagrant box. Behat talks to the Selenium hub (2) server running on the Vagrant box, which talks to the Selenium node (3) server on the host machine. Finally, the Selenium node server is what drives Chrome (4) to execute the test suite. Not to worry if you don’t understand what these things do, we’ll get into that below.

To get started with the setup, first ensure that you have the Java Runtime Environment (JRE) installed on your host machine and in the Vagrant box, which is required to run Selenium. You may already have it installed, but can check with:

$ java -version

I’m running JRE 1.8. If you need to install or update, Google is your friend.

Next, you’ll need Selenium. It’s handy to download it into a shared folder between the host machine and the Vagrant box. The important thing is that it’s available on both the host machine and Vagrant box.

$ wget

Finally, you’ll need Chrome driver on the host machine. For convenience move it somewhere on your PATH:

$ wget $ unzip $ mv chromedriver /usr/local/bin Run tests

Now that you have all the software you need, it’s time to run the tests. First thing you’ll want to do is start Selenium server in hub mode in the Vagrant box:

$ java -jar /path/to/selenium/selenium-server-standalone-2.53.1.jar -role hub

Notice the -role hub option. This tells Selenium to run in hub mode. Running Selenium in hub mode allows Selenium to receive tests to be executed and forward them to any registered Selenium servers running in node mode. The Selenium server running in node mode is what controls the browser, driving the browser through the tests. In this way you can bridge the gap between the Vagrant box and the host machine, so that you can see the tests running in a browser on the host machine. You’ve already got the Selenium server in hub mode running on the Vagrant box. Now lets start a Selenium server in node mode on the host machine:

$ java -jar /path/to/selenium/selenium-server-standalone-2.53.1.jar -role node -hub http://my-vbox.local:4444/grid/register

Here, you’re telling Selenium to run in node mode, using the -role node option. You’re also registering the Selenium node with the Selenium hub running in your Vagrant box using the -hub http://my-vbox.local:4444/grid/register option. Replace my-vbox.local with the host name or IP address of your Vagrant box.

Next you’ll need to adjust your behat.yml file to register a Selenium Mink session, that points to the Selenium hub server running in the Vagrant box e.g.,

selenium2: wd_host: "http://my-vbox.local:4444/wd/hub"

So that your behat.yml file looks something like this:

default: suites: default: contexts: - FeatureContext - Drupal\DrupalExtension\Context\DrupalContext - Drupal\DrupalExtension\Context\MinkContext extensions: Behat\MinkExtension: goutte: ~ selenium2: wd_host: "http://my-vbox.local:4444/wd/hub" base_url: http://my-vbox.local browser_name: 'chrome' Drupal\DrupalExtension: blackbox: ~ api_driver: 'drupal' drush: alias: 'local' drupal: drupal_root: '/var/www/docroot'

With all that setup, you’re finally ready to run your tests. From your Vagrant box, run:

$ ./vendor/bin/behat -v -c /path/to/behat.yml /path/to/behat/features

If everything worked out, you’ll see Selenium open up a new instance of Chrome and drive it through the test suites:

Videos require iframe browser support. Further Reading

Behat Mink Extension
Mink Selenium 2 Driver
Up and Running with Behat, Drupal, & Vagrant
Testing Your Drupal Site with Behat


OSTraining: How to Use Tokens in Drupal Fields

Planet Drupal - Wed, 2017/05/31 - 5:11pm

Token is one of the 3 most popular modules in Drupal.

It allows you to use small placeholders to automatically complete tasks.

To take a simple example, if you put [site:name] on your site, it will be replaced by the actual name of your site. To take a more complicated example, you can use Token together with the Pathauto module to automatically create URL patterns for your whole site.


ADCI Solutions: Webpack starter kit

Planet Drupal - Wed, 2017/05/31 - 11:11am

A stable release of a Webpack starter kit! Remove its HTML processing to befriend it with Drupal and build a Drupal module or a theme easily.

Webpack starter kit is based on the following concepts:

  • dividing source code from compiled
  • separated production task
  • modularity
  • modern, future-proof technologies
  • linting (code style / syntax errors checking)
  • live reloading for browsers
  • dependencies through node modules (you can install libraries through NPM and import them in your styles/scripts)

Based on webpack and npm scripts, this kit lets you jump-start your project faster.


Free download. Find out more about this kit.




OSTraining: Automatically Populate Drupal Fields From Other Content

Planet Drupal - Wed, 2017/05/31 - 10:32am

One of our members wanted to automatically fill in Drupal fields from another node.

It took a little experimentation, but we managed to make it work using the Token, Token Filter and Entity Reference modules.

This technique works for nodes, but it should allow you to automatically popular field using data from users, comment or any other entity.

Before you begin, follow these steps to enable tokens in Drupal fields. You must allow tokens inside fields before this tutorial will work.


Promet Source: 2017 Drupal Trends: What Digital Managers are Thinking About

Planet Drupal - Wed, 2017/05/31 - 6:40am
Managing the digital strategy for an organization interested in delivering ambitious digital experiences to its stakeholders is more than a full time job. The rate of change in digital shows no sign of slowing down soon. It’s all most of us can do to just keep up, let alone think ahead. To help with that, we’ve compiled a shortlist of some of the big issues that will be driving strategic digital decisions over the next year.  Very Responsive Design

Colorfield: React and Drupal 8 with JSON API 2/3

Planet Drupal - Tue, 2017/05/30 - 10:37pm
React and Drupal 8 with JSON API 2/3 christophe Tue, 30/05/2017 - 22:37 The first post of this serie focused on setting up easily a multilingual Drupal and React environment for a museum Audioguide web app. This one describes the steps to achieve a MVP that displays a list and a detail page of Audio contents, so we have the opportunity to cover several basic concepts under React : Components (add from a package repository, inherit, compose, create), Routes (default route and wildcard), Fetch to consume Rest, Localization via React Intl

Drupalize.Me: Google Summer of Code 2017 Begins

Planet Drupal - Tue, 2017/05/30 - 9:49pm

Web Wash: Drupal 8 Debugging Techniques

Planet Drupal - Tue, 2017/05/30 - 7:27pm
You're not short on choice when it comes to debugging a Drupal website. You can install Devel and use Kint to print variables to the screen. Or you could use Web Profiler to add a toolbar at the bottom of your site to see how things are performing. If you're looking for a proper debugger look no further than Xdebug. It integrates with a lot of IDEs and text editors and I'd recommend you try it out if you've never used it. I recorded a webinar about Drupal 8 debugging which you can watch above.