Blog

Secure Your Drupal 3rd Party Integrations Using OAuth

While I was researching how to integrate a Twitter application into a Drupal site I found that there was very little documentation on how to accomplish this using their OAuth protocol. This can be a pretty confusing topic, and chances are that if youʼve landed here then youʼre already somewhat familiar with what OAuth is are having the same problem that I had. (more…)

Drupal Batch API in a Nutshell

Drupals internal batch API can be really helpful for handling large cumbersome processes on your web server. Rather than submitting a form and waiting for one of these processes to finish before reaching the next page, the batch API can be utilized to break the process down across multiple page loads. This not only cuts down on the server load, but will prevent the page from timing out. Progress bars will be displayed to the user while the process runs which will keep them informed of where they are at in the process.

In this example, I’ll explain how to do a simple assembly line-like process to generating page nodes in bulk, similar to Devel’s node generate function. (more…)

Managing Drupal sites with AEgir: Getting Started

AEgir has been a hot topic among Drupalers these days. In case you’re not familiar with what AEgir is, it’s basically a Drush GUI that allows users to manage multiple Drupal instances under one unified interface. While this doesn’t sound like much on the surface, the ability to upgrade multiple Drupal sites, migrate and clone sites, manage backups, and create new Drupal sites all at the click of a button is pretty powerful stuff. (more…)

User Targeted Content with Drupal: Device Geolocation

Targeted content towards a specific user based on their personal information is the holy grail of website marketing. Most, if not all, large ecommerce sites have some form of targeted content implemented to make the site more relevant to its visitors.

An example of this is on Ebay.com, where they utilize this technique to display auctions on items that are similar to what the user has been searching for. By doing this, users might be compelled to keep exploring the site and ultimately buy something, which is the point.

Consider the following situation, you’re building a site where users can purchase tickets for concert events across the country. Rather than just displaying a static list of hundreds of events, why not just give the user exactly what they’re looking for by showing them events near them. (more…)