Weblog von henning

Drupal freelinking

About to add freelinking support to my new drupal system - it should enable me creating links to pages by writing wiki-style links.

Everything a bit confusing, the INSTALL file points to menu items that do not exist as written.

You really have to enable freelinking in the menu admin/settings/filters by going to the "configure" link of each content type that should have freelinking links.

After I did that, I get working links - but only when I'm logged in.

Layout-switching in drupal zen subtheme

I just did somethign wrong when creating my own drupal theme by makin a subtheme of the zen theme from the STARTERKIT:

I copied the file layout-fixed as it is without changing it's name to layout.css - which seems to be what you have to do, and what the nice helper script does.

But I want to be able to change between the fixed and the liquid setting in the admin menu.
How can I do that?

I add this to theme-settings.php:

$form['themedev']['zen_layout'] = array(
'#type' => 'radios',

Drupal Zen Subtheme script

There's a nice script for automatically doing all necessary steps to get a subtheme of the drupal zen theme: http://drupal.org/node/336368

It has two small problems:

If you're a drupal newbie(and forgot a lot about the things you knew in php), you give a name with minusses (e.g. "zen-sub-theme-test"), you get something like

Parse error: syntax error, unexpected '-', expecting '(' in /var/www/cms/sites/all/themes/zen-sub-test/template.php on line 85

Drupal simple own design/theme

After playing a while with adapting the Acquia Marina theme to something I like quite good,
I want to learn to make my own theme from scratch with Drupal...

I'm checking out: http://drupal.org/node/313510 gives a nice and very easy introduction to build your own theme very fast.

The main change I added: I want my slogan and site title, adding some simple lines.

The code so far: http://github.com/henning/henningbonbon

Inhalt abgleichen