Drupal

Importing data to Drupal 6.x CCK fields

The task

It's the first time I look into this.  I have some data in Excel and want it go into CCK fields. Concrete case: import pictures for the MIMO gallery and create the normal node and CCK fields easily. Of course I could save CSV or import to mysql table if I have to. 

Choosing the Module

First glance at 6.x modules indicates that Migrate seems to be most appropriate and ready for use. So, I start testing it on a test server.

Migrate

Remote Drupal Admin

I have too many drupal sites now and updating modules etc (i.e. standard tasks) start to get annoying. I wonder if there are already tools to control drupal remotely and if I should write some small scripts using WWW::Mechanize or something else.

Also, I wonder if I should write web tests for the drupal sites I am developing.

This is just an idea. Here are some links I find helpful:

Drupal Taxonomy Menus

puh. I think this was the third attempt I tried to fix this problem. Finally, it seems to work. As so often, the problem seems usual enough and one sometimes wonders that Drupal is not better with these very common things. But, let's be more concrete.

I have a site where I want to display news. News are classified in various categories using taxonomy terms. Now, I want these categories to appear in the menu and the menu items active when I see the posts. Just common-sense functionality, one would think.

Pixture Reloaded

Pixture Reloaded

Pixture Reloaded

Pixture ReloadedPixture ReloadedHm. I liked Pixture from my first day with drupal. Lately, I had a look at the updated version of Pixture Reloaded. It comes with an optional DHTML menu since recently. Not too bad. But several things bug me, so in this blog, I try to document the changes I make at the theme, so that I could make them again if I have, too ;-). 1. I want the dynamic menu to look more the original one (bold writing). 2. I want secondary links that are independent 3. I more 3d effect on the superfish menu.

Marinelli Theme

Marinelli New Secondary Links: Marinelli new secondary linksMarinelli New Secondary Links: Marinelli new secondary linksI really like the Marinelli theme by Matteo Leoni. I intend to use it for the new ESEM site. I has few issues with text, that it is not very Drupal compliant.

Also, I think I will need to define some styles to make working with the WYSIWYG editor easier. I need

Drupal migrated

Another personal drupal milestone: For the first time, I migrated a drupal site from one provider to another in real-life circumstances. By the way, I transferred from a multi-site to a single site with absolutely no database problem. Drupal seems to be quite robust.

By far the biggest problem was that the new provider doteasy.com has php register_globals on by default. I had to write them an e-mail so that they turn off that option. It was completely impossible to change any local setting. But they reacted pretty fast, so problem solved.

Drupal Mirror Plans

I recently set up a simple backup script that downloads my Drupal site and backs it up. The result is a zipped file that I hardly ever look at. Now for backup, but also for testing, it would be much nicer to have a script that mirrors my site as it is this moment to an active environment on localhost. Then you can check if the backup worked and you can easily start experimenting with new stuff (modules) without exposing your production server to any risk.

To get a simple version of this functionality, what were the steps to get this running?

Marinelli Strange Text

Marinelli Strange Text

Drupal Theming

So todayMarinelli Strange TextMarinelli Strange Text I battled with theming for the first time. I like the Marinelli theme, but the text behaves unlike standard Drupal themes, so I decided to make that more conform to Drupal standards. Attached is the result. I changed the ul and ol li as well as blockquote. Currently, Marinelli tends to display text a little awkward by default.

Theme provided by Danetsoft under GPL license from Danang Probo Sayekti