New Podcast

Posted Monday, October 6 at 5:38 pm
Matthew Grasmick (grasmash), Technical Consultant with Acquia, joins Mike and Ryan to talk about the Behat testing framework, Drupal 8 beta 1, and Dries' (super-interesting) DrupalCon Amsterdam keynote.
Download Podcast 140
DrupalEasy_ep140_20141006.mp3
Syndicate content

Everywhere

Connect with DrupalEasy:

Survey

Interested in learning more about Drupal, but can't find the training you're looking for? Help us help you by letting us know what workshops interest you. Take this short survey to let us know!

Newsletter

Stay up-to-date on DrupalEasy workshops and other events. On average, we send about 1-2 newsletters per month.

Who are we?

DrupalEasy is a training and consulting company that specializes in public and private Drupal training as well as site building and consulting with a focus on best practices and building sustainable web sites. More...

What is Drupal?

Drupal is a free, super-powerful content management system for sites that require information posting and collection, including blogs, forums, videos, photos, and databases of information. We think it is the best platform available. Here's why...

Why Drupal?

More and more savvy organizations are going with Drupal for content management, and its no mystery why. It’s free, flexible, and easy to maintain for small or large volume sites. Learn more...

ryanprice's blog

Introduction to Drupal 7 Theming - DrupalCon Chicago 2011

4
Average: 4 (14 votes)

I was very proud to participate in the official DrupalCon Pre-Conference Training again this year. I decided to repeat my Intro to Drupal Theming class, especially since drupal 7 was such new territory. Our class size was limited to 20 students, which sold out in advance of the conference.

DrupalEasy Teaching a Nonprofit Tech Seminar at Rollins College

5
Average: 5 (3 votes)

The Philanthropy & Nonprofit Leadership Center at Rollins College's Crummer Graduate School of Business is having Ryan Price from DrupalEasy as a guest speaker at their Winter Park Campus. Here are details about the event.

Leaders Series: Free Software Tools for Nonprofits

Effective technology is absolutely essential to efficient and successful
nonprofits. Technology, software, and IT support are integral to back
office functions and engaging clients, donors, volunteers and the
community. Take advantage of technology that can reduce your operating
cost and increase engagement and outreach with clients and donors.

Take advantage of and learn tips about:

  • Google and Google Docs
  • Facebook, Twitter, YouTube
  • RSS Feeds, Podcast Feeds, Blogs
  • Drupal Content Management
  • Popular Open Source Projects

Date: Friday, January 14, 2011

Creating a Directory of Public Features Servers

0

In an attempt to point to some of the great things that are available using Features, I tried to look for a directory of Feature Servers. Sadly, Google was not very helpful. After some digging, I was able to locate a page on the OpenAtrium Community site called Distributed Feature Servers. This points to many of the other pages I was able to find via search.

Utilmately I created a wiki page on the Packaging & Deployment group of groups.drupal.org, which seems to be one of the hottest places to discuss Features.

Directory of Public Features Servers wiki page

Currently, there is tons of info about how to create your own Features Server, but not much about where all the publicly available features servers are located. If you know of others, please go edit the wiki page on groups.drupal.org or leave them in the comments here.

Theming Nodereference - or - Reusing Complex Data in Drupal

3.73913
Average: 3.7 (23 votes)

This is your moment, you've decided to step up and make a job board for your local Drupal User Group. You spend some time thinking about everything you'll need, including the job listings themselves. You'll want to gather the standard info, like job title and job description, salary, experience, the works. When it comes to gathering company info, your instincts make you take a few extra moments to plan.

If you think about this from the perspective of the person posting 6 or 7 jobs, she would end up having to type (or at least copy and paste) the business' contact information each time. If you think about collecting 3 or 4 fields for each business, then that's about 20 extra form fields for the user to fill out. If she then decides to change the info, let's say she made a typo, she now must click through each edit screen 6 or 7 times. That amounts to hundreds of clicks and several hundred repeated keystrokes.

job content type with company info baked in

There must be a better way. A nodereference can help your users.

Once finished, you will have two nodes, one for a job and another for a company, and yet you will still display the information about the company inside the job listing.

final themed job listing

By the end of this tutorial, you should understand what a nodereference is for, how to create and use one, and finally, how to use template files to theme the output of the nodereference and get the most out of the relationship.

On Drupal Performance: Testing with Apache Benchmark

4
Average: 4 (17 votes)

Sometimes in our lives, we all have pain, we all have sorrow. And sometimes we also have to launch Drupal sites into the wild blue yonder. It's during these times that we separate the grown-ups from the n00bs, and we see how well our site performs under heavy load. Many of us didn't need to worry about speed, page size, and server load in our younger years when we were building sites for Uncle Don and Aunt Sue, but eventually you get that big client, and you need some help.

Testing your site's performance

There are several ways to test, and a few metrics to acquaint yourself with. Not all metrics are created equal, but all of them are important at one time or other. In Part I of this post, you will be reading about testing with the Apache Benchmark tool on the command line.

Apache Benchmark

Photoset from Dries' State of Drupal Keynote

4
Average: 4 (3 votes)

If you didn't get a chance to check out our live coverage of Dries' Keynote, you can also see about 100 pics I snapped during the session.

DrupalCon: Dave.Ingram

0

Dave A Ingram also brought the youngest Drupaller - just 3 weeks old! He is dave.ingram on drupal.org, and he comes from Gainesville, FL

Ryan's 5 Session Picks for DrupalCon DC

0

In the most recent DrupalEasy Podcast we talked about a few sessions we're looking forward to at DrupalCon DC. Here are my picks and a few reasons why I'm interested.

Help! Anonymous User Comments Disappeared!

4
Average: 4 (5 votes)

Looks like some MySQL data export/import operations can fail for anonymous users. I just did a data dump from my local development server to the live site and all the comments by users who aren't logged in were not showing up. Gone. Missing. It turns out MySQL was trying to stick the autoincrement value in the `uid` field in the place of the supplied `0`.

mysql auto increment

Import Hundreds of Taxonomy Terms using AWK

5
Average: 5 (2 votes)

Today's challenge: your editors just handed you almost 200 taxonomy terms to add to the site, and you don't have the time or inclination to hit the taxonomy/n/add/term page for the next 2 hours or so... AWK to the rescue!

Doing a simple CSV export of the term_data and term_hierarchy tables, you've got a pretty simple structure:

term_data
tid,vid,name,description,weight

term_hierarchy
tid,parent

What you'll ultimately generate here is a file that stores everything you need to know about importing these terms via a CSV - the term names, the weights, good IDs, and the TID of the parents.

2048,#the current value of the sequences for term_data
term,34,Blogs,#a helper line
x,1,Drupal,All about Drupal,-5
x,1,Modules,Ways to extend Drupal,-4
x,1,Themes,Making your install pretty,-3
term,35,News,#a second helper line
x,1,International,,0
x,1,Local,,0
x,1,Hyperlocal,,0

In this file, we've got 3 types of data:

  1. The starting value for sequences
  2. The id of the parent term for the next several rows, starting with the word "term" followed by the TID and the plain English name just to help us get organized
  3. The new terms, with an "x" where the new TIDs will be placed, and the VID, Description and Weight all filled out.

Syndicate content