Drupal 7

help :

If you are still using Drupal 7 you'll find this repository of Drupal articles helpful.  If you are looking for a more curated list you can check out our  all time Top 20 Drupal Tips.  Or perhaps you are looking for Drupal 8 articles only...

  • Drupal Logo

    Avoiding Drupal 7 #AJAX Pitfalls

    Rather than provide a basic how-to tutorial on Drupal's form API #AJAX functionality, I decided to address a few pitfalls that often frustrate developers, both junior and senior alike. To me, it seems that most of the problems arise from...

  • cool tech graphics

    Upgrading Drupal Media module to 7.x-2.x

    I recently spent some time fighting against the Drupal Media and File Entity modules in order to upgrade them from version 7.x-1.x to 7.x-2.x.

  • Drupal Logo

    Drupal 7 Tutorial: Creating a Custom Entityqueue Handler

    Entityqueue uses Ctools plugins for what we call an EntityQueueHandler. In this post we are going to see how to create a custom EntityQueueHandler.

  • Drupal Logo

    Using the Token module to enhance the Editor experience

    The Setting: A planet far, far away. Our valiant heroine struggles to climb a volcano in time to rescue a darling puppy. Clouds of ash drift in the late afternoon wind, and the heat waves from the flowing lava distort the horizon.

  • Drupal Logo

    Drupal 7 Views Preview Shows Different Results

    OK, so you are a site builder or a privileged role building a view. In the preview you see a certain result set, but regular and/or anonymous users see only subset of those results or no results at all.

  • Drupal logo

    Drupal 7 Form API: Using #states with multiple conditionals (AND, OR and XOR)

    I've been playing with D7 forms lately and have found #states to be somewhat challenging due to lack of documentation on Form API page. I've poked around a bit and decided to write a blog with my findings in case someone else is in need of this info down the road. If you are looking for a robust solution for conditional fields, I would suggest looking into

  • cool tech graphics

    Please don't abuse node references! Part 1

    Welcome to the first part of a two part article on a terrible way to use node references, how it was fixed, and the troubles implementing the solution. In this post, I'll provide some background on the problem encountered and talk briefly about the proposed solution.

  • cool tech graphics

    Drupal 7: When to use Entityqueue vs Draggable Views

    This post was inspired by a question our VP Tony asked me while I was working on Entityqueue, he asked, "how is it different from Draggable Views?" At first the answer isn't as obvious, they both allow you to sort items in a list.

  • cool tech graphics

    How to Fix Caching for Views With Exposed Filters in Drupal 7

    One of the better features of the views module in Drupal is the ability to cache your view's output. This can come in handy when your view is doing a lot of computation. Caching your view will save your server a lot of unneeded work.

  • cool tech graphics

    How to Pass Multiple Values through an Exposed Filter in Drupal Views

    I regularly work with Views and recently I have had a few odd needs. One of which was when a user selects an item, that item then disappears from the view. The view has exposed filters with AJAX turned on. Since I don’t know how many items I’ll need to filter, I’ll need...

  • cool tech graphics

    Faster Database Backups via Drush! Plus Capistrano Integration

    When working with Drupal sites, Drush is your go-to tool. This post is going to focus on the drush sql-dump command. This allows you to export your database to a sql file, so you can restore it later. This can be particularly useful when you are working in a development environment and need to deploy a site to production for the first time. Or when you start work on a new clients existing site, you need to export their live database and download it to your local environment.

  • cool tech graphics

    How to Write Drupal Update Scripts

    This is the second part in my two-part series about Drupal update scripts, specifically focusing on using update scripts for your custom modules as part of your

  • cool tech graphics

    Creating a Custom Panels Layout in Drupal 7 (Video Tutorial)

    There are a lot of great tutorials on the web and, as Chris pointed out, Drupal is a pretty developer friendly platform. With some chutzpah and the power of Google, you can build just about anything in Drupal.

  • cool tech graphics

    Why You Should Spend the Extra Time to Write Drupal Update Scripts

    Drupal update scripts are a great way of automating database updates. They are extremely important to contributed modules when changing the database schema and updating existing data to the new schema.

  • cool tech graphics

    Sprinting to Drupal 7 - Interviews with the Drupal.org sprint team

    It was sprint time last week here in Portland, where over 20 people came to upgrade Drupal.org up to Drupal 7. There were 5 different teams focusing on different aspects of the project: infrastructure, Git, Project module updates, general upgrade of Drupal.org specific modules, and making the Bluecheese theme responsive.

  • cool tech graphics

    Using Drupal to Make a Super Fast Mobile App

    Let's imagine a scenario where you want a super-fast mobile app that uses a Drupal backend from an already existing site.

  • cool tech graphics

    Handling long-running background tasks in Drupal 7

    In my previous post, I discussed how to import a large dataset into Drupal via Drush's batch API. In this blog post, I'll cover how to create background tasks in Drupal 7 that will take long amounts of time to finish.

  • cool tech graphics

    Using the Drupal Batch API

    Recently I was working on a site for a library that had a lot of data that needed to be imported into Drupal as nodes. Each book title, e-book, DVD, etc. needed to be a node inside of their Drupal 7 website. Not only that, but...

  • cool tech graphics

    Custom Sort Drupal Content with the Draggable Views Module

    In the world of sorting, sometimes 'newest first' or 'oldest first' just doesn't cut it. During a recent Drupal project, we had a client who wanted to be able to control the order of their marquee images in random ways via a drag and drop interface. Enter the Draggable Views module. In about thirty minutes, I was able to set up custom drag and drop functionality for several content types on their site. Let's dive in and I'll show you how it's done. If you prefer a video tutorial, skip to the end of this post.

  • Boilerplate

    Boilerplate 1.0 for Drupal 7: Responsive HTML5 & SASS

    Great HTML5 support based on the excellent Boilerplate HMTL5 template, full SASS support, and a base fixed/flexible responsive layout similar to Zen but with built in mobile support, all while keeping the code

  • cool tech graphics

    Using Drupal Contextual Filters in Views

    It can take a while when you're new, but once you start to wrap your head around Views, that is when Drupal gets really fun. In this tutorial, I'll go over how to use Contextual Filters in Views to alter your content dynamically based on information in the URL. If you're a visual learner, you can skip to the video at the end of this post for a detailed walk through of the process.

  • cool tech graphics

    Drupal 7 Tutorial: Creating Custom Filters in Views

    I love views. It makes my job easier, so I can focus on the more complex things, rather then having to hand-write queries, create forms for filtering data and it saves time debugging my typos. Every so often you will get a request that can't be accomplished out of the box.

  • cool tech graphics

    Drupal 7 Deployment Checklist

    This list makes sure that we covers our... Ahem, bases. This is an update to the blog post originally written by Dylan Tack, our Lead Drupal Engineer.

  • cool tech graphics

    Drupal 7 Tutorial: Creating Custom Formatters with the Field API

    Custom formatters are a great way to control the output of your fields. In this tutorial I'm going to use an example that takes a user's Facebook URL as the input and outputs a button of the Admin's choosing, along with an option to open the link in a new window. To get started, we'll need to get a module skeleton sketched out. You'll need to create these two files...

  • cool tech graphics

    Drupal 7 Tutorial: Creating Edit Content links in Views

    Update: Use this module Old Method: Views can be very handy, but the views interface can be a little tricky. A question that comes up when training clients is "Why can't I edit this content?" when they are looking at a view. If you use the node row style, Views will add them for you but not if you use the fields style. You can surely explain how views work (results may vary depending on the client), but an even easier method is to create edit links that link directly to your content and use a little CSS/jQuery to make sure it's shown when and where it's needed. Using this method creates a handy little gear button when you roll over the content, with a link that says "Edit Content" when you click on it.

Have questions?