Drupal

Drupal 7 Released

After several years in the making, Drupal 7 was officially released yesterday. According to Dries Buytaert, over 1,000 people contributed to the Drupal 7 release.

There are over 267 parties planned in 91 countries. Or follow hashtag #d7rp on Twitter.

Tags:

Twitter Tweet Button for Drupal

Twitter just launched their own version of the Tweet Button last week.

Installing Drush on Windows

With Drush you can greatly reduce the amount of time needed to setup and upgrade your Drupal installations - even if you're not a command line expert. If you haven't used Drush yet, you've probably at least heard of it.

Display a GMap of a Referenced Location

If you have many events that are at the same location, instead of adding the location information to each event, you can setup one location that is referenced by each of your events.

When you display a node reference, you have the options to display as a title, teaser or body. In order to generate a Google Map, you have to create a View that will load the reference to your Location and display those fields as a GMap

Inline Messages 1.6 Released

Inline Messages allows you to display form messages (error/status/warning) inline with the form instead of the default behaviour at the top of the page (or wherever your theme outputs messages).

Version 1.6 has been release with a few important enhancements.

Tags:

Avoiding the Duplicate Content Filter on your Drupal Site

One SEO consideration that can be overlooked is having the same content be accessible by multiple urls on your site. This is called duplicate content and your site can be flagged and disappear from Google or other search engines.

If you're using Drupal with Clean URLs and Pathauto, consider the following:

http://www.example.com/blog/2010-03-10
http://www.example.com/node/256

Tags:

Add Plus1 Voting Widget to Nodes in Panels

If you're using Panels to output your content type and you enable the Plus 1 module, you may notice the Plus 1 widget doesn't appear when you view your node.

If you don't see the widget, then you've probably enabled 'no extras' in your Panels node template override. If there's no other reason for enabling this option, you can simply uncheck the box and the Plus 1 widget will appear when you view your node.

Theming a Specific CCK Field

The display of CCK fields is handled by the file content-field.tpl.php which is in the folder sites/all/modules/cck/theme. To override the display of a specific CCK field, the system will look for the format content-field-field_name.tpl.php in your theme directory.

Assuming you have a field named 'files', the name of your override would be content-field-field_files.tpl.php. If you're not sure of the field name go to admin/content/types and select the Fields tab - which will give you an overview of all your CCK fields.

Tags:

Displaying your Drupal Mission Statement on Multiple Pages

While many sites don't need to utilize a mission statement, it can be useful for adding static content to your theme.

I needed to add copy to the header for a client that would appear on all pages, that they could easily edit and wouldn't involve any editing of the theme files. I immediately thought to use the mission statement that's available at admin/build/themes/settings. The only problem being that by default, the Drupal mission statement only appears on the home page.

Tags:

Testing IE6, IE7 & IE8 on One Computer

Recently I had to add compatibility for IE6, IE7 & IE8 to a site I was working on. Only problem was that I can only have one version of IE installed on my machine.

Pages