In addition to our G-Cloud 8 services and Digital Outcomes & Specialists services, Zoocha's application for Digital Outcomes and Specialist 2 has been successfully awarded. Services will be available from mid February 2017.
Here at Zoocha we use preprocessor for almost all our frontend work. Predominantly we use SASS although some projects are on LESS, partly for historical reasons. No-one can deny that it’s a really powerful way of writing CSS, giving you access to variables, mixin functions, and the apparent Holy Grail: nesting. The thing about all of the above though, and I think something that often gets forgotten is these are all tools to make the developer’s life easier. The result is still compiled down to CSS.
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
Each year at Zoocha, we try to do something for Christmas for our clients, even if it's just a Christmas card (see below for our effort from a couple of years ago). This year we wanted to do something interactive, and webby, as that's our business really.
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:
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.
I am a bit mad about maps. Especially the online, interactive ones. When I heard about the OS (Ordnance Survey, rather than operating system!) open data Masterclass, I signed up for it immediately, very curious to see how OS data could fit in with online mapping applications.
(Image Credit: http://www.telegraph.co.uk/technology/microsoft/11480692/RIP-Internet-Explorer-Twitter-mourns-and-mocks-death-of-Microsofts-browser.html)
Internet Explorer. The bane of most web developers' lives. How often have we built a site and looked back content with our efforts, only to have that satisfaction whipped away when opening Internet Explorer?
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;
- 1 of 6
- next ›