Planet Drupal

Subscribe to Planet Drupal feed
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 9 hours 14 min ago

Third & Grove: Retrospective on Hiring a Drupal 8 Core Maintainer

9 May 2016 - 7:00am
Retrospective on Hiring a Drupal 8 Core Maintainer justin Mon, 05/09/2016 - 10:00
Categories: Drupal

Drop Guard: Michael Schmid presents their amazee-ing Drupal Security

9 May 2016 - 4:45am
Michael Schmid presents their amazee-ing Drupal Security Johanna Anthes Mon, 09.05.2016 - 13:45

Michael Schmid , Group CTO at Amazee, conduces his team with creativity and an amount of know-how you wouldn’t think his age would possess! Amazee Labs, a web-hosting, web-consulting and development company, started their Drupal security of 2016 with Drop Guard. And amazee.io the just launched Drupal Hosting platform built for develeopers, which has a full integration into Drop Guard.

Drupal Drupal Planet Security Interview
Categories: Drupal

Valuebound: Create Apache2 Virtual Host using Shell Script

9 May 2016 - 4:05am

The ability to create and utilize tools, makes human race dominant in world. Tools make our work easier and also saves time. One of the tools, I am going to share is bash shell script to create apache2 server virtual host.

Why Virtual Host?

Using virtual host we can run more than one web site (such as dev.drupal-cms.com, stage.drupal-cms.com and www.drupal-cms.com) on a single machine. It can be "IP-based" or “name-based”. In IP-based you can have different IP address for each web site. In name-based you can have multiple names running on each IP address.

Shell script code
  Explanation

Script expects 3…

Categories: Drupal

Clemens Tolboom: My sync2dev script on Mac

9 May 2016 - 3:58am

# Sync database
# Fix before receiving files
# Get the files
# Fix after receiving
# Drupal 7 variant of cache-rebuild
# Login to site
# Make sure drush finds the features drush extension
# List features with changes

Categories: Drupal

Jay L.ee: Clickable Background Takeover Ads

8 May 2016 - 10:48pm

For the past few days, I wrote three blog posts on how to configure three modules: Drupal Background Images Module Configuration Manual, Drupal Background Images Formatter Module Configuration Manual & Drupal BackgroundField Module Configuration Manual

Today I'll finally reveal how to create clickable background takeover ads. I'll use Drupal as an example, but the concept itself should apply to just about any type of website. Are you ready? Here we go:

Tags: Drupal 7Drupal Planet
Categories: Drupal

Pronovix: Brightcove Video Connect for Drupal 8 - Part 1: Architecture

8 May 2016 - 1:19pm

The Drupal 8 version of the Brightcove Video Connect module was written from scratch in order to take advantage of the architectural changes in Drupal 8, especially the new Entity Data Model. Designed around the new entity system in Drupal 8, the new Brightcove module seamlessly integrates video publishing into the Drupal editorial workflow and interface. This alleviates the fragmented editorial experience typically associated with 3rd party video hosting services.

Categories: Drupal

DrupalCon News: Come by! Registration is open.

8 May 2016 - 11:54am

We are just kicking off registration - totes, and badges and t-shirts, oh my!  We will be open until 6:00pm today and will open up bright and early at 7:00am tomorrow.

We are located in the Hall G lobby of the New Orleans Convention Center.  Please note - when you enter, it is quite far down (about 1 mile/1.6km) from the main entrance, but just following the purple signs; we are here waiting for you.

 

Categories: Drupal

DrupalOnWindows: Running Drupal 8 on PHP 7

8 May 2016 - 9:52am
Language English

Drupal 8 was released with full PHP7 support:

[META] Support PHP 7

But the fact that the Drupal 8 codebase is able to run on PHP7 does not mean that you can run PHP7 Drupal 8 deployments. Why? Because there is more than just "Drupal" to run a decently performing Drupal 8 based application.

There are at least 3 additional components that need full PHP7 support:

More articles...
Categories: Drupal

Danny Englander: Drupal 8 Development: 5 Things to Add to Your Theming Toolbox

8 May 2016 - 8:03am

My uncle used to say, "You have to use the right tool for the job." This is no different when it comes to Drupal 8 theming and development. I have been having an absolute ball learning and theming with Drupal 8 the past several months. You can read more about how I got inspired here. In this article, I will outline some of the tools and methods I have been using while I've been building a new Drupal 8 theme.

1. Twig Debugging

One of my primary tools for Drupal 8 theming is Twig debugging so you'll definitely want to enable this while building out a theme and site. Chapter Three wrote a great post on enabling Twig debugging so I won't rehash that here how to get it up and running.

Twig's debug output will really come in handy for printing out:

  • Theme hook names
  • All possible suggested template names
  • Existing templates being used
  • The full path of the current template in use

After you write your own theme hook, those new template names will also show up in the debug output.

<div class="postscript"> <!-- THEME DEBUG --> <!-- THEME HOOK: 'region' --> <!-- FILE NAME SUGGESTIONS: * region--postscript.html.twig * region--postscript-second.html.twig x region.html.twig --> <!-- BEGIN OUTPUT from 'themes/custom/hibiscus/templates/layout/region.html.twig' -->

Sample output from Twig debugging

2. Devel Kint

Kint, part of the Devel module for Drupal 8 is awesome for inspecting arrays that contain your entity info, field names, view modes, and more. Kint is similar to Devel Krumo but for Drupal 8. If you really want to dig in with theming, Kint will be invaluable, especially for writing custom preprocess functions, creating variables, and theme hooks.

3. Search Kint

Search Kint for Drupal 8 is similar to Search Krumo for Drupal 7. It extends Kint by giving you two additional functions that are huge time savers. The first is a search box and select list to search any arrays on the page. The second function is a "get path" box where you can easily copy an array path. This takes the guess work out of things, especially since Kint provides much more info than what we were used to in Krumo.

4. Drupal Console

Drupal Console is fast becoming one of my new favorites. This is an amazing tool which can perform dozens of Drupal 8 tasks efficiently in Terminal. I'm just getting started with Console but I really like it already. Console can import / export config, clear cache, generate module / theme scaffolding, generate entities, create nodes, and much more. There's even has a "learning" mode as well as some auto-complete functionality. So it does a lot of what Drush does but it goes beyond with much needed and added functionality. At this point, I am pretty sure I will be switching over to using Drupal Console instead of Drush.

module module:debug Display current modules available for application module:download Download module or modules in application module:install Install module or modules in the application module:uninstall Uninstall module or modules in the application

Just a few sample commands available out of dozens in Drupal Console

5. Drupal Template Helper

There is also now a Google Chrome plugin called Drupal Template Helper which moves all the your Twig debug output to a Chrome web inspector tab. This makes your main HTML inspection area a lot cleaner and easier to scroll through. I even got this extension running in Opera which has been my browser of choice lately for web development. Note, I've been using Opera for theming for a few reasons. It's built upon Webkit so it's the same familiar Web Inspector UI as Chrome that you're used to. Opera also seems faster, less buggy, and less bloated than Chrome.

Summary

This is just a basic rundown of my Drupal 8 Toolbox. I am sure I will pick up more tools as time goes by. Do you have any favorite tools I have not mentioned here?

Tags 
  • Drupal
  • Twig
  • Theming
  • Drupal Planet
  • Drupal 8
Categories: Drupal

Jay L.ee: Drupal BackgroundField Module Configuration Manual

7 May 2016 - 8:08pm

Yesterday I wrote a blog post on how to configure a Drupal module called Background Images Formatter, which is part 2 of the Drupal Background Images Module Configuration Manual. Today I'll continue with part 3 with a module called BackgroundField. Then tomorrow I'll finally reveal how to create clickable background takeover ads.

Tags: Drupal 7Drupal Planet
Categories: Drupal

Jeff Geerling's Blog: How to build your own Raspberry Pi Cluster

7 May 2016 - 7:53pm


The banana is for scale.

When I originally built the Raspberry Pi Dramble 6-node Pi cluster in 2014 (for testing Ansible with bare metal hardware on the cheap), I compiled all the code, notes, etc. into a GitHub repository. In 2015, I decided to take it a step further, and I started hosting www.pidramble.com on the cluster, in my basement office!

Categories: Drupal

ARREA-Systems: Our business solution runs on Drupal 8.1

7 May 2016 - 7:27pm
Our business solution runs on Drupal 8.1 Sun, 05/08/2016 - 10:27

 

Hello,

Our back-office management solution is now running on version Drupal 8.1. The live demo is updated with the latest version.

It has been a long run since the project was initiated while Drupal 8 was still under alpha stage. And there is still plenty of work to do.

One objective is to make a full distribution package including most of the current functionalities available in the demo version. Our main issue with this target is the lack of resources and time. Thus if any of Drupalists are enthusiastic about business process solutions and would like to contribute, they are welcome.

Categories: Drupal

DrupalEasy: Summertime, and the hiring is (Drupal)Easy

7 May 2016 - 3:18pm

It’s almost summer, and at DrupalEasy, that means it is almost Intern Season! Our Spring Drupal Career Online class is three-fourths of the way to graduation, and we have just three budding Drupalists who are looking for work experience through internships (the others are already spoken for!)  If you’ve got too much to do, and not enough capacity to do it, an intern might be just the ticket through our (Work Experience) WE Drupal Program.

We love sowing the Drupal Community with well-trained new talent, all of whom have already devoted hundreds of hours, thousands of dollars, and more than three months of their lives to learning, practicing, engaging and developing their passions for Drupal in their quest to become professionals.  We’ve found that they have a lot to offer organizations who can use their eager new Drupal passion and help them build really great first Drupal Experience entries on their resumes.  If you need some extra bandwidth, or have some tasks or projects suited to a new site-builder type, why not engage an intern?

Hosting an intern is also a great way to test out talent and take some of the lower-level workload off of senior developers (like taking care of your own site, or those simpler tasks you need to get done for your clients.)  Here’s the deal: you bring on a graduate of our Drupal Career training program, either paid or unpaid in mid-June.  They devote their new Drupal enthusiasm and best-practice foundational skills to your projects for 2 to 3 months while you give them some guidance and experience.  You and the intern then decide if they move on, or continue on as an (already indoctrinated) contractor or employee.

If you’d like to learn more, you can check out how we approach WE Drupal, fill out a Host Application (no commitment, just a way for us to learn what you are looking for)  or email me.  

Summer is just around the corner, so WE hope you don’t delay.

Categories: Drupal

DrupalCon News: We are sprinting - come join!

7 May 2016 - 7:17am

Extended sprints have officially kicked off at Launch Pad.  We will be here all day, so stop by and join.

The Extended Sprints are located at 643 Magazine Street.  The front door is set back a little bit.  When you arrive, please send @joelpittet a text so that he can come let you in the front door.

We have breakfast, lots of sunlight and a rooftop deck, so come join!

Thank you for sprinting.

 

Categories: Drupal

Jay L.ee: Drupal Background Images Formatter Module Configuration Manual

6 May 2016 - 7:51pm

Yesterday I wrote a blog post on how to configure a Drupal module called Background Images. Today I'll continue with part 2, and it's a simple one but essential as well, because this module doesn't even come with a README.txt file at all lol.

But before we begin, let's answer the million dollar question of why anyone would want to use this module:

A good example would be my use case where I run a membership website and want my members to be able to upload background images, because the Background Images module only allows people with admin access (specifically to admin/content/background-images) to enable background images at all.

Tags: Drupal 7Drupal Planet
Categories: Drupal

Darryl Norris's Blog: 4 New CKEditor Plugins For Drupal 8

6 May 2016 - 7:40pm


About a month ago I was testing a pull request (#1999) for Drupal Console that will generate boilerplate code to integrate a button plugin from CKEditor to Drupal 8. So apparently the integration to integrate a CKEditor plugin for Drupal 8 is very simple thanks to the great CKEditor API in Drupal 8. While testing this pull request (#1999) I ended up with 4 plugins in my computer and I decide to share the code in Drupal.org so people can use it.

CKEditor Smiley

CKEditor Loremipsum

  • Project Page: https://www.drupal.org/project/ckeditor_loremipsum
  • Plugin Description: This plugin allows to generate lorem ipsum sentence or paragraph easily, to use in your web content, for example, it can be very useful when you want to demonstrate a website or a portal.

CKEditor Video Detector

More
Categories: Drupal

ActiveLAMP: Adding CKEditor plugins to Drupal 8

6 May 2016 - 7:00pm

Drupal 8 has greatly improved editor experience out-of-the-box. It comes shipped with CKEditor for WYSIWYG editing. Although, D8 ships with a custom build of CKEditor and it may not have the plugins that you would like to have or that your client wants to have. I will show you how to add new plugins into the CKEditor that comes with Drupal 8.

Read more...
Categories: Drupal

Drupal Bits at Web-Dev: Drupal: Enable or Disable a View in Deployment.

6 May 2016 - 6:41pm

Drupal Hook Update Deploy Tools now (as of v 7.x-1.16) has the ability to enable or disable  a View from within a hook_update_N().  It handles validation to make sure that your request to enable or disable a View actually did what you asked it to do.

 

Add something like this to a hook_update_N in your custom deploy module.install
to enable some Views.

<?php
  $views = array(
    'some_view_machine_name',
    'another_view_machine_name'
  );
  $message =  HookUpdateDeployTools\Views::enable('$views');

  return $message;
?>

To disable some Views, it looks like this:

<?php
  $views = array(
    'some_view_machine_name',
    'another_view_machine_name'
  );
  $message =  HookUpdateDeployTools\Views::disable('$views');

  return $message;
?>

Here is an example of what your terminal would show after running the enable method above:

Categories: Drupal

DrupalCon News: Scholarship, grant, training proposals open for DrupalCon Dublin

6 May 2016 - 12:16pm

DrupalCon Dublin will be here before you know it! Join us this 26-30 September in one of Europe's major centers for technology. We're looking for bright ideas from our amazing community when it comes to training proposals and other programmign content. While registration isn't open just yet, it's never too early to book your hotel room, make your travel plans, and send in your proposals for training, or to apply for a grants or scholarship. Consider it like an early RSVP!

Categories: Drupal

myDropWizard.com: myDropWizard is providing Drupal 6 Long-Term Support for 424 sites!

6 May 2016 - 12:16pm

We've been pretty busy in the 11 weeks since Drupal 6's End-of-Life on February 24th.

Really, CRAZY busy, in fact!

We're currently responsible for providing Drupal 6 Long-Term Support for 424 sites in total!

For some of our bigger clients with large numbers of sites on a single code-base or those subject to regulation (for example, governments and universities) we had to compromise on not providing "security updates only" service - but some protection is certainly better than no protection.

Going through the sales process (which includes performing an in-depth site audit), on-boarding process and subsequently supporting and maintaining 424 sites in only 11 weeks has been enormously challenging for a small company like ours - but also an amazing learning experience.

Things are finally slowing a bit with regard to Drupal 6 LTS, we're heading out to DrupalCon New Orleans next week, and starting to look at the next phase for our business.

This feels like a good time to stop and reflect on the things we've learned from our experience with providing Drupal 6 LTS: what worked, what didn't and what we can improve for the future!

This isn't a marketing post (unlike most of our posts recently - sorry!) but a look Behind the Veil at our growing startup, what we do and why we do it. And it's about time! The last one I did was back in June, explaining why we we're launching myDropWizard.

So, if you're still interested in my meandering reflections, please read on!

Categories: Drupal

Pages