zen

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

Inhalt abgleichen