News
The history of technology innovation is the history of disruption. New technologies become available and disrupt the market for more-established, higher-end products.
We’re witnessing one of the latest waves of technological disruption, as mobile devices put access to the internet in the hands of people who previously never had that power. Always-available connectivity through PCs and broadband connections has already transformed the lives of people who have it. Mobile internet will...
Stripe, a relative newcomer to the online payment scene, offering much of the same functionality as Paypal and Authorize.net, but with one major difference: the service was built from the ground up by and for developers. Stripe's API's and unique approach to providing PCI-compliant integration into your site makes it dead-simple to start accepting payments with very little work. Couple that with Drupal's flexibility and you can be up and running in no time.
Following on from the first blog post in this series, An Introduction to Test Driven Development, Chris introduces the test harness so strap yourself in!
My first experience of work "in the real world" came through work experience. I was lucky enough to get one of only two placements with IBM at Havant and my assigment was to build to specification the wiring loom used to connect the IBM 3745/3746 communications controller to its test harness. These units had to be regularly and...
There are a number of Drupal 8 issues that simply make me sad. I still didn't stop contributing to Drupal nor I plan to, I just need to accept that we have some disagreements which are not getting resolved. It's frustrating and I am mostly just venting so comments are disabled. (It's frustrating enough that I went over them to tag them.)
Ps. There's a little silver lining: the config import code has been rewritten finally. Still, I will not touch CMI.
One of the important tasks of a front-end developer is to make every website compatible with a wide range of browsers. The goal of getting a handsome design to look exactly the same in every currently-used browser is practically impossible to attain. Most developers believe that a perfect compatibility between browsers is not necessary.
Efficient cross-browser CSS development obtains maximum cross-browser similarity with a minimal amount of code. In order to achieve that, the...
Drupal.org is the home of the Drupal Project, serving developers, site builders, and site evaluators, all with unique needs. Meeting the needs of all of these audiences is tough enough for any website, let alone one that is governed by its community. So, over the last year, we’ve been tackling the issue of governance for D.O with three main goals:
The Drupal 8 code freeze deadline is quickly approaching, which means that time is running out to make API changes. After the code freeze deadline, we enter Drupal 8's polish phase -- the home stretch of Drupal 8 development where we will focusing on fixing bugs and moving Drupal 8 toward the first release candidate later this year.
This means that we need your help to get the word out there about Drupal 8! Help the community get ready for Drupal 8 by talking about it at your local...
Two weeks ago at DrupalCon Portland, I gave my traditional State of Drupal presentation. A total of 3,500 were present at DrupalCon, a new record for DrupalCon attendance.
In good tradition, you can download a copy of my slides (PDF, 29 MB) or you can watch a video recording of my keynote (keynote starts at 14:00). The video of the White House guest appearance and the Drupal 8 demo video area also embedded in this post...
ReCAPTCHA allows your to add spam protection to your custom Drupal forms without any further coding work.
However, if you want to integrate with Mollom's CAPTCHA protection, the following code snippet will do just the trick, simple and easy.
/*** Implements hook_mollom_form_list().
*/
function YOUR_MODULE_mollom_form_list() {
$forms['YOUR_MODULE_CUSTOM_FORM_ID'] = array(
'title' => t('My custom form'),
);
return $forms;
}...
calc() is a native CSS way to do simple math right in CSS as a replacement for any length value (or pretty much any number value). It has four simple math operators: add (+), subtract (-), multiply (*), and divide (/). Being able to do math in code is nice and a welcome addition to a language that is fairly number heavy.
But is it useful? I've strained my brain in the past trying to think of obviously useful cases. There definitely are some though.
Can't Preprocessors Do...I had recently found the need to manually reindex the Search API indexes programmatically after performing some other operation. The code snippet below will do just that for you :)
// Load Search API Index.$search_api_index = search_api_index_load('SEARCH_API_INDEX_NAME');
// Clear the index.
$search_api_index->clear();
// Re-index and schedule for next index.
$search_api_index->reindex();
// Run!
search_api_index_items($search_api_index, -1);...
Super duper simple example on how to programmatically create your own custom Drupal blocks and display any content.
Code snippet below needs to be in a custom module.
/*** Implements hook_block_info().
*/
function YOUR_MODULE_block_info() {
$blocks = array();
$blocks['YOUR_BLOCK_ABC'] = array(
'info' => t('YOUR BLOCK NAME'),
);
return $blocks;
}
/**
* Implements hook_block_view().
*/
function...
Short, but sweet this week in the Acquia podcast: Drupal 8 Accessibility Maintainer Mike Gifford, and accessibility contributor Vincenzo Rubano talk about DrupalCon Portland and say thanks for all the help that allowed Vincenzo to attend DrupalCon Portland and begin to make a difference in person.
vincenzo-n-mike-g.mp3The objective of this section is to make the primary menu a toggle menu for the mobile interface. i.e the menu renders on click in mobile devices and is horizontal on screens wider than 600px.
I returned from DrupalCon Portland recently. As usual it was a tidalwave of new information, new contacts and catching up with longstanding friends and acquaintances.
Drupal 8 RoadmapDries' keynote gave a great overview of progress on Drupal 8 and some of the features that will have direct benefit to project delivery and client.
Structured contentKaren...
To see just how easy NodeSquirrel is to use, checkout my FREE video.
Backup and Migrate What is Backup and Migrate? With all of the ways to backup sites, why did you originally create Backup and Migrate? This a pretty substantial module, how many people are using this right now? Features: Backup and Restore your database Select tables that you want to backup Backup Files (with Backup and Migrate files module) Scheduling Drush Locations: FTP and S3 Rackspace...On a recent project I required a way to bind ctools handlers to their respective links dynamically. The project had the links being displayed using ajax based on user input, and so the handlers would have to be bound to the new links (and unbound for the links that disappeared) without the page being reloaded.
Searching online for a solution did not turn up any useful results. Digging into the ctools module code, there didn't seem to be any easy way to accomplish this. The...
Out of the box, Drupal is pretty good at handling files. It has support for subdirectories, and a wide range of tokens which gives you a flexible, easy-to-set-up system for organizing files uploaded by your users. Sometimes though, pretty good isn’t good enough, and we need something more. That’s why Drupal is built the way it is—modular and extensible. The module we need in this case is Storage API.
We’ve all heard the term Not Invented Here (NIH) thrown around. It refers to a phobia of using technologies that weren’t developed in-house. What some of us might be a little less familiar with is its opposite, Invented Here (IH), which occurs when people are uncomfortable innovating in-house or developing anything for themselves.
IH is a huge problem in the Drupal world.
Why Drupal specifically?Drupal spreads IH just because Drupal can do...
The rapid pace of open source adoption in the enterprise continues. There’s more at stake for project teams within the enterprise. Projects are bigger than ever before. Here at Blink we continue to engage in larger and more strategic builds - true enterprise scale stuff. Enterprises are prioritizing open source solutions front and center of mission critical business process and for good reason. Open source is obviously license free and incredibly flexible. You also get the power of the “...
Jeremy Keith notes that what happens between the breakpoints is just as important as the breakpoints themselves—perhaps even more so. While I agree with this, we do have to start somewhere. In a way, this part of the process reminds me of storyboarding, or creating animation keyframes, with the in-between frames being developed later. We’re going to do that here.
Major breakpoints are conditions that, when met, trigger major changes in your design. A major breakpoint might be, for...The Date Picker widget, when using webforms, defaultly appears in American form (Month, Day, Year). For UK sites this isn't often desirable. Doing a quick google and I stumbled upon James Davidson's blog post on how to re-theme the element from earlier this year. I thought it was certainly one approach, but felt there must have been a neater alternative. So here is my approach:
/** * Implements hook_webform_component_render_alter(). */ function...In this article I am going to show you how to query for information in a database other than the default one you set up when you installed Drupal. There are 2 main ways to do this properly and choosing one over the other depends of course on your needs.
When people ask you about big projects done with Drupal, what's the second item on your list? I know the first one is WhiteHouse.gov - that's not Drupal's foot in the door, it's the foot that broke the door.
I'd like to share with you the second item on our list. Harvard. Seriously. If it's the first time you hear that Harvard is using Drupal, or that they have an amazing distribution they work on called Harvard OpenScholar, or that they have a team of five...
In my last post, I discussed my new photography site I'm building and theming with Drupal. The site is responsive and I've been searching for an ideal responsive touch friendly multi-level menu. I looked at and tried several jQuery plugins, CSS3 styles and a few Drupal Modules but nothing was quite right.
The IssuePart of the issue is that I need multi-level menus that are touch friendly, but many of the menus I looked at had severe UX drawbacks. It's confusing to click (...
Pages
Switch theme
Welcome to the Drupal 7 Theme Gallery
Drupal 7 Theme Gallery is a place for you to view demonstrations of the free contributed themes available for Drupal 7.
All the themes shown on the site are available from http://drupal.org
The theme gallery is a free resource provided by Ruby Design
You can change the theme used to display the site by either:
- Use the theme switch dropdown selector
- Find a theme using the theme gallery and click the preview link
