drupal planet

Setting up Drupal Code Sniffer

titi 2 Comments

A few weeks ago I had to go through the process of setting up php code sniffer on my new computer, and realised how confusing most of the blog posts out there are and how many loops and posts you have to jump through to get it set up.

I decided to write a quick post with all the commands in one place and small descriptions for most of the commands:

Installing Drupal Coding Sniffer

1. Download php code sniffer (source code: https://github.com/squizlabs/PHP_CodeSniffer)

curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar

Still on Drupal 6? Here are your options!

dave 0 Comments

With the imminent release of a Drupal 8 Release Candidate, which could potentially be announced as soon as the end of September at Drupalcon Barcelona, the clock has just started ticking a lot louder for those sites still on Drupal 6 with the looming Drupal.org support transition policy about to kick in:

Local .htaccess environment conditionals, HTTPS example

denise 0 Comments

Adapted from a post by the Nerdary  that basically deals with the problem of having .htaccess files that are different on your local and other environments.

This example deals with the headache of https and not wanting your local environment to automatically redirect to HTTPS. I am only posting the relevant code that sets up the environment variable.

Theming in Drupal 7 just got easier!

willrichardszoocha 0 Comments

Theming in Drupal 7 has always been a bit fiddly at the best of times. Unbeknown to me a small feature crept into a Drupal 7 release without me realising - the backport of theme debug settings from the much anticipated Drupal 8. This feature allows you to view debug information directly in the mark-up and not have to go chasing template suggestion names from within the Drupal admin screens.

In your Drupal 7 installation simply add this line to your settings.php:

$conf['theme_debug'] = TRUE;

A review of Responsive Day Out - The Final Breakpoint

willrichardszoocha 0 Comments

Last Friday saw another Responsive Conference take place at the Dome in Brighton. I had previously heard a lot about the conference, this being the third and (I believe) final outing I was thrilled that we managed to secure some tickets for myself and a selection of the Zoocha team members. From seeing the impressive list of speakers I was sure it would be a great conference, but I had no idea how much information, insight and motivation I would be taking home.

The Front End of FCA

george 0 Comments

As part of the front end team, I was quite excited to be introduced into the project on the sites for FCA. We knew the sites would all be running on the same Drupal pre base using several modules to ensure smooth operation with different domains.

What we needed to focus on was dealing with five independent themes including a theme folder which was to be the basis for three separate sites. These three sites have very similar structures and the difference in the appearance between them is minimal. So just to get stuck into the project here are the sites:

DrupalCon Los Angeles 2015

denise 0 Comments

This Los Angeles native has gone home to do some learnin' about Drupal. Note: this is a heavily dev-based view of the conference. Apologies to frontenders, designers, wombats, etc, but there is only one me and about 10 sessions per slot. For a full list of everything check out https://www.youtube.com/user/DrupalAssociation/videos and https://events.drupal.org/losangeles2015/sessions/accepted.

Implementing Google Certified Shops code in Drupal

titi 1 Comments

Introduction

Google have made available their Google Certified Shops feature in the UK. Any online shop who applies to become a Google Certified Shop and implements the code on their site, will go through a ‘verification period’ which lasts from 30 days to 3 months (depends on the amount of orders you get per month); and at the end of the period you will become an official Google Certified shop.

Handling the Gruntwork of Frontend DevOps

paul 0 Comments

Introduction

With frontend development getting more and more complex every day, there are more and more steps we as frontend devs need to go through in order to get the job done. Of course there is still something to be said for crafting your HTML / CSS, but this isn't always required / possible.

Drupal Multilingual - Where do I start? What to think about?

denise 0 Comments

So you’re using Drupal and you want to make your site multilingual. If you already have experience doing this, chances are you are aware of the relative pains you must go through to make this happen. If this is your first time, well, hopefully I can make your first time less painful.