Spatial search with Solr

I would like to introduce new module Search API Location that provides possibility to do spatial search using Apachesolr. At the moment we can search by radius on the map putting the center of the circle. You are welcome to test on Demo site. Technical details Search API Solr module is used for integration with Solr. Search API Location module exports location data to Search API via hook_entity_property_info_alter().

Writing widget for Views Slideshow

There is more or less standard way of building Slideshows in drupal -- Views Slideshow module.

Module really works great and I would like to thank all people involved in it.

But what we should do when we want to change some of the behaviors of the javascripts of it? In my case the task was to change image style (imagecache preset) of the active page thumbnail. By default image style all thumbnails where grayscale, but we needed to make active thumbnail colorful. Like on screenshot image below.

Feeds cheatsheet for developers

In this article I would like to create some notes about architecture of the Feeds module. This is really great module and it is real “must know” when we are talking about regular import of the data from some sources.

There is great documentation available on Here I try to create a cheatsheet for 7.x version of the module that let developers brief understanding about how things work.

Google Chrome joins Simpletest Selenium framework for Drupal

One of the modules I am involved in is Selenium module. In brief it integrates Selenium2 to simpletest framework of Drupal. From the beginning it was possible to run test in Firefox that opens pages of the simpletest sandbox. As we are in full control of browser we are able to test javascripts in it. This is the main goal of the Selenium integration.

Add custom field to Search API Solr index

Today we are going to talk about really awesome module Search API

One of the most popular tasks I have regarding customizing apachesolr search results is adding new fields to index and to have custom facet for them. So lets discuss how it is done if we are using Search API module.

D7 create zip archive from multiple custom uploaded files

In this article I would like to share another interesting task connected with upload files in D7.

Task is to have custom form that allows to upload multiple files at once and create zip archive from these files on finish.

I really liked the way google mail handles attached files form and tried to implement similar behavior but without writing custom javascript. Thanks to Form API and #ajax property it is very managable. So lets dive into code!

Drupal 7 upload private files easy

One of the new features of the Drupal 7 core is new File API. I would like to show how easy it become to use private file system.

Our task is quite simple: user should be able to upload private files that only he has access to download. Also we will add permission for "administrator" role to download any private file that users have downloaded.

So lets start. First of all we create separate page with form and defining our custom permissions.

Add new step in Commerce checkout

One of new drupal 7 projects I had the task to add new step in checkout process. In this article I would like to share how easy it is now with Drupal Commerce

Drupal Selenium tests API

This article is followup of the previous two Selenium testing in Drupal and Run Selenium tests in Drupal on Debian headless. I strongly recommend to read these two articles (at least watch demo videos) before reading more technical explanation below.

Now is the time to explain how to write tests using Selenium in simpletest.

Run Selenium tests in Drupal on Debian headless

In previous article ( I have written about introducing Selenium tests to Drupal simpletest framework.

The first question I got on IRC from Randy Fay was whether we can run selenium tests from console. Today I have managed to do that and I would like to share how to set environment.

So demo first!