| Fri, 2007-09-21 18:55 — David Herron |
Drupal is moving forward, and the team is getting ready with Drupal 6. I'm doing a test installation and live-blogging what I see as I do it.
I first went into my web hosting control panel, and added a new mysql instance. Since the Drupal 6 beta 1 page says this beta version should not be used on production sites. We've resolved most errors reported so far, but there are outstanding known issues in bold letters, I'm not converting a production site (yet). Instead it's a test site on one of the "spare" (unused) domains I own.
Installation steps were:-
506 wget <a href="http://ftp.drupal.org/files/projects/drupal-6.0-beta1.tar.gz<br /> " title="http://ftp.drupal.org/files/projects/drupal-6.0-beta1.tar.gz<br /> "><a href="http://ftp.drupal.org/files/projects/drupal-6.0-beta1.tar.gz">http://ftp.drupal.org/files/projects/drupal-6.0-beta1.tar.gz</a><br /> </a> 507 gunzip -c drupal-6.0-beta1.tar.gz | tar xvf - 508 ls -a 509 mv drupal-6.0-beta1/* . 510 ls -a drupal-6.0-beta1 511 mv drupal-6.0-beta1/.htaccess .
In all the process was as slick as the wordpress install. Very nice.
The next was to visit the administration area. The layout is very familiar. Starting with Drupal 5 the admin area changed layout to be orientated to clusters of tasks. Rather than admin being just a list of modules to configure, it's now oriented to major topics with individual sections within each. This makes it easier to find what you're looking for, and the Drupal 5 organization has been carried forward to Drupal 6.
I went into the modules administration and see some familiar modules and a couple new ones:
Next, I've gone to create a blog entry. I'd enabled several modules including Blog and Blog API and Book. The blog creation page looks normal but there are a few new things I see:-
I'm looking in the administration section to see what's new.
A whole new area exists named Translate Interface whose purpose is making it easier to localize Drupal to a new language. What that means is there are various strings used throughout the Drupal software which end up being displayed on the screen, and the software allows you to install new versions of those strings for your language. You can export all these strings and they're given to you in a format which the 'Gettext' editor can manage. You edit the strings, and then can import them into one of the languages. Unfortunately they don't seem to allow you to define a new language, meaning you can update only one of the languages they've defined. While they've defined a large number of languages, what if someone wants to translate Drupal so it supports Klingon or Tolkein's Elvish? Neither of those languages are in the list. In any case this is really cool and should make Drupal much more accessible to non-English audiences.
Oh, I later found a Languages section which lets you add a new language, including one defined to your suite. You can configure how to treat visitors who are native to other languages, such as giving them a subdomain (de.example.com or es.example.com) or to insert their language into the path (example.com/de/node/12345 or example.com/es/node/12345).
I found an Actions section as predicted above. The description says: Actions are individual tasks that the system can do, such as unpublishing a piece of content or banning a user. Modules, such as the trigger module, can fire these actions when certain system events happen; for example, when a new post is added or when a user logs in. Modules may also provide additional actions. There is not a configuration section for the trigger module, so it must be purely an API module rather than exposing an admin UI. This looks more complex than a quick breeze through the admin screen, so will require later exploration.
The performance section is more comprehensive in this release. There is now a block cache, which is useful because blocks generally are static and do not need to be recreated on each pageview. In bandwidth optimization you can now optimize CSS and Javascript.
A welcome addition to long admin screens is that the table header stays pinned at the top of the page when you've scrolled it off the top. What happens in Drupal 5 and prior, you'll have long tables such as the access control admin area. You'll scroll down the table and then forget which column is what, especially in the access control page since there are likely to be many roles, and likely to be lots of access rights to control. If the table headers scroll off the top of the page it can be real easy to get lost as to which column is what, but in drupal 6 the column header stays at the top of the page even when scrolled down. This is real slick.
I turned on the OpenID module to take a looksee. First, there didn't seem to be any admin option to control OpenID authentication. Firing up a second web browser I find that the site now has, in the login box, a linked labeled Log in using OpenID. Clicking on the link makes the login box change to one requesting your OpenID. I provided one, and it went to my OpenID provider, clicked Trust to enable my site to be allowed to use my OpenID, and then was transferred back to an error message page on my site. Somehow the OpenID was not recognized. Probably a bug, eh?
The next module I turned on is Triggers. Remember that above I said there wasn't a Triggers admin area? Well, duh, that's because I hadn't turned on the module. Anyway this looks really cool, but not quite straightforward. It seems vaguely like the workflow module, but far more understandable, while still being not quite straightforward.
A trigger is an event which happens on the site, and you can configure an action to take based on the events which happen. Some example triggers are:
Clearly those are important actions which can occur to a node. In each of those sections there are a list of actions which could be performed, and you can configure just which actions are taken. One action when saving a new post is to unpublish the post, which might be useful if you want all posts to go to a moderation queue before being published. Another option is to promote the post to the front page, presumably it will be published and this would be helpful to make sure it goes to the front. There are other triggers on adding comments, and one of the available actions is also to promote the post to the front page. You can imagine this action to promote things to the front page could help keep active content at the front of the site, while inactive content sinks towards the end.
I turned on the Content Translation module but haven't figured out what difference that made.
I turned on the Aggregator module, and was displeased to see it is the same old Aggregator module. There has been much work on alternate Aggregator modules, which appear to be better, but this same funky one is being used. Why? Well, perhaps the alternate modules have not been improved enough to be suitable as a replacement.
Comments
Content translations in Drupal 6
Content translation definitely does not "connect to a translation service" (Believe me my life would be SO! much easier if it did. There is a module that claims to do this, but it only works for English <> Spanish, and requires the fairly beastly i18n module). Rather, it's a combination of some of the functionality of the i18n and the localizer modules for Drupal 5, which don't offer any in-place translations. Instead, they are designed to partition the site in the ways necessary to provide copies of each node in multiple languages (as in, the user provides the content in each language, essentially creating a new node for each page in each language.)
The interface of the built-in content translation system is nicer than those of the Drupal 5 modules of the same purpose, but it still definitely has a lot of problems.
My company, http://kosada.com/ , is working a lot with Drupal right now and we've really been struggling with translating issues in Drupal 5, and now we're trying to figure out the built-in stuff in Drupal 6, so if anyone wants to get together and compare notes feel free to contact us --- info on http://kosada.com/Contact , or just email me at beth [at] kosada [dot] com