drupal archive

kronda's picture

Pacific Northwest Drupal Summit This Weekend

Metal Toad is proud to be a Gold Level Sponsor of the Pacific Northwest Drupal Summit which starts tonight with the 24 hour hacker lounge opening at 5pm. Tickets are sold out, but if you're planning to go, we look forward to meeting you! And if you can't show up in person, you can follow along as the Toads tweet and blog our way through the weekend. It will be like you're actually there! Check out some of the sessions planned for the event and don't miss your chance to meet and mingle Saturday night at the Drupal Summit party at p:ear gallery. Read More…

dan's picture

Boilerplate 1.0 for Drupal 7: Responsive HTML5 & SASS

Our new theme has just been released! This theme was developed with a few goals. 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 base small. Like Basic, the stripped down version of Zen, this is designed to run alone, not to run as a master theme with sub themes. Read More…

kronda's picture

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. Read More…

dylan's picture

Integrating Compass with a Git / Capistrano deployment workflow

When we added the Compass CSS authoring framework to our projects, new wrinkles appeared in the deployment process. Committing the artifacts to Git was used for our first prototypes, but is unsuitable for team projects because it's a sure-fire way to introduce merge conflicts. Running compass on the server (either with Cap or the Drupal module) is appealing, but a minority of our projects deploy to hosts without the ability to install Compass. Rather than support multiple strategies, we decided on executing Compass locally on the workstation running Capistrano. Changes are needed to several files: Read More…

joaquin's picture

How to Become a Web Developer

So you want to become a web developer? Smart move. The web is a growth industry and I don't know of any university curriculum that adequately prepares people for this career. A good web developer can pull in well more than the median annual wage and job benefits and promotion opportunity are great. So what do you need to know? Read More…

dylan's picture

Date-boosting Solr / Drupal search results

By replacing Drupal's core search with Solr, it's possible to gain very fine control of the results. Not only is Solr very flexble, but the apachesolr module is generous with its hooks. One potential use is boosting the score based on dates, so that recent documents receive a higher relevancy score. We've used this for a ticket calendar to help visitors find upcoming events. Read More…

jonathan's picture

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. If you are trying to customize the options in an exposed form, you may still need to do hook_form_alter(). Or, if you are trying to filter or sort your view by a field that doesn't appear in views, this short tutorial will show you how. Read More…

kronda's picture

Drupal From Scratch: New Site Checklist

Set the Admin theme Seven comes installed with Drupal 7 Rubrik is nice but has one bug that doesn’t show view replacement patterns Set the site email address to your preferred administration email admin/config/system/site-information Before Creating any content (fake or otherwise) Create content types !!! Warning: once content has been entered, content types cannot be changed without damaging data Turn on and configure path aliases with pathauto module Turn on clean urls Create text formats for user roles admin/config/content/formats Set up WYSIWYG editors if needed Create image style settings Read More…

kronda's picture

Avoid Potholes When Deploying Drupal Sites to Media Temple Virtual Private Servers

I recently had occasion to set up a new Drupal site on a dedicated virtual private server on Media Temple (dv 4.0). Everything was going swimmingly until I deployed the site and tried to reach it via the IP address. The result was the install.php page, even though my settings file was uploaded and had the correct settings for the database. To make matters more frustrating, the log files were not located in the standard place (/var/log/httpd/domain.com-error.log) After some searching we* finally found them at /var/www/vhosts/domain.com/conf/ and found that the particular file that contained the database settings was causing a 403 error - access forbidden. Read More…

Pages