Recent articles

Uberdrupal: from distribution to profile - Part II

This is part 2 of Uberdrupal: from distribution to profile. Images and more references are on the way.

In Part I of this post, I wrote about the context that led me investigate ways to speedup the installation of various Drupal websites.

Just as you might grab a napkin to sketch out an idea in your favorite joint or reach out for a pad of paper to test a concept with fellow developers at work, one often needs a fresh Drupal code-base (a Drupal napkin) to test and validate ideas. Practice makes perfect. If only installing a fresh Drupal code-base was as easy as grabbing a paper napkin under the glassy gaze of a disillusioned waitress... Actually, piece of cake! As we will soon see. Sort of.

Uberdrupal: from distribution to profile - Part I

I've been experimenting with installation profiles for some time now. It all started with a Drupalcon Chicago presentation by Dmitri Gaskin (dmitrig01): From Zero to Distribution using Features, Profiler, and Drush Make. A year ago, on a bad day, setting up a fresh Drupal installation in order to test a module or try some new tricks in Views could take me as much as two hours. The possibility of installing Drupal with a custom list of contrib modules in less than a minute seemed like science-fiction at the time.

Sortable Grid Views Plugin - screencast

Have you ever thought sorting nodes by Content: Post date (desc) or Node: Title (asc) just didn't cut it? Ever wanted to sort a view in a freestyle kinda way? Sortable Grid Views Plugin will let you do just that.

This screencast covers the Sortable Grid Views Plugin for a Drupal 6 installation. But sgrid works just about the same for a Drupal 7 installation. This is how projects are sorted in my Portfolio.

Drush Make and Profiler - a brief overview

Most coders are familiar with Drush Make. So I'll skip that part for now. Suffice to say that a ".make" file is a list of projects, modules, features and even profiles that will be fetched and installed when you use the drush make yourMakefile.make pathToDir command.

Setting up a multilingual home page in D7

In my previous article, I've introduced a basic setup that will help you create a functional bilingual menu system. There are probably other ways of going it. But, so far, this method works for me.

If you follow and repeat the steps outlined in Setting up multilingual menus in D7, you should be able to create primary menus for an About us or a Services page with, say, the Page content type.

Setting up multilingual menus in D7

Here are the prerequisite for this article:

  • A fresh & properly installed multilingual D7 website with Path prefix language code (e.g. "/en", "/fr", etc.).
  • An enabled Language switcher block. To configure this block, go to  en/admin/structure/block.

If you need help setting up your website, perhaps you should first read How to setup a multilingual website with Drupal 7.

How to setup a multilingual website with Drupal 7

Setting up a basic Drupal website in English is relatively easy. Setting up a multilingual website isn't as obvious as you would hope it to be. Knowing a thing or two about how and where to find help on drupal.org is a must. See References for more information.

The present article does not address the topic of multilingual menus.

Alright, let's do it.

Why Drupal

Drupal is a content management system or CMS which can itself create all kinds of CMS. Because of this peculiar characteristic, it really is a content management framework. In any case, Drupal allows you to create and manage a variety of websites where information is structured and categorized.

Subscribe to Recent articles