Drupal

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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Content Cookie Lock

New Drupal Modules - 8 May 2016 - 12:40pm

The Content cookie Lock module restricts certain roles from accessing content
on your site. Several reliable content access modules already exist, but this
module is different from them all.

We had a good reason to restrict access to content by using a cookie. The cookie is encrypted using a value and a secret key, both the value and the secret key need to be specified on the settings page.

Categories: Drupal

DrupalCon News: Come by! Registration is open.

Planet Drupal - 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

Planet Drupal - 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

Sensitive Data

New Drupal Modules - 8 May 2016 - 9:43am
Overview

Sensitive Data leverages the Site Audit tool to examine a site's content for data that is potentially sensitive, such as credit card numbers or ID numbers.

Installation

Sensitive Data is not a module; do not install it in your site root.

Copy the entire Sensitive Data project to either your unified or personal Drush folder in the commands subdirectory, like

~/.drush/commands

then clear Drush's cache:

Categories: Drupal

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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Planet Drupal - 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

Pages

Subscribe to As If Productions aggregator - Drupal