LevelTen Web Design | Dallas, TX

drupal

That 'whoa' moment with Drupal

I've been developing in Drupal for a couple of years now. As LevelTen adopts Drupal, I'm seeing people have moments where something clicks and for a split second it seems like you are looking directly into the future of Web development.

That moment, for me, was in discovering the long-since-deprecated module Flexinode. Before Flexinode, all new content types in Drupal required a .module file that implemented a number of hooks and the creation of database tables and fields. This was something that really only a Web developer would do.

Survey says...

In the 2008 CMS satisfaction report by NTEN, a Non-Profit Technology group, Drupal received very high marks. This is great news for us since we recently decided to make the shift to Drupal rather than building our own CMS. Apparently, we’re not the only ones who have embraced Drupal. NTEN evaluated hundreds of nonprofit groups using a wide array of CMSes like Plone, Joomla, Convio, Blackbaud, and Antharia. Drupal had the highest number of responses and the highest number of respondents using Drupal as their primary CMS.

Grep My Drupal

Quite often I find myself searching for a string or a command line in an entire drupal installation. If you've ever poked around the files and directories of your Drupal site, you appreciate the complexity of all the nested directories and all the files that together make up a typical installation. It turns out that searching for a specific string is quite time consuming and tedious work.

Ubercart

Ubercart is an ecommerce suite for Drupal. It is a more modern alternative to the ecommerce module.

Favorite Ubercart Sites

www.blendapparel.com
www.brooklynski.com

Drupal node module skeleton

Recipe for creating a node module skeleton:
1. Create three files using the code snippets at the bottom of this post

  • foo.info
  • foo.module
  • foo.theme

Note: replace foo with your module name. If this is for a specific project, use project codes in the format [pc][nodetype]

2. do the following search and replace on all three files
"[pc]foo" -> [pc][nodetype]
"foo" -> [nodetype]

foo.info code:

  1. ; $Id $
  2. name = "Foo"
  3. description = "Foo posts."
  4. package =
  5. dependencies =

foo.module code:

Syndicate content