Drupal 6

Submitted by DenRaf on Wed, 02/20/2008 - 21:38

I have to say, the more I work with Drupal, the more I love it. So you can expect a move of this blog to drupal soon. :)

Only last week we created a nice theme for our technical website. Only after finishing our website, Drupal 6 was released and of course we wanted to upgrade asap.

Here you can find a little manual on converting your Drupal 5 theme to Drupal 6. In the theme it-self doesn't have to change that much. Expected things are sidebar-left by left, sidebar-right by right, ...

People who use primary links, will notice that they don't work. The trick is to edit page.tpl.php:

from: <?php print theme('menu_links', $primary_links); ?>

to:  <?php print theme('links', $primary_links) ?>

So the real new thing is the .info file for the theme. Our theme is basd upon the litejazz-theme, so I'll put our .info file here.

name = inuits_tech
description = Theme for INUITS' technical site
core = 6.x
engine = phptemplate

version = "6.0"
project = "drupal"

regions[user1] = user1
regions[user2] = user2
regions[user3] = user3
regions[user4] = user4
regions[user5] = user5
regions[user6] = user6
regions[content_top] = content top
regions[content_bottom] = content bottom

regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer