[themes] Workflow Question

Tony Crockford tonyc at boldfish.co.uk
Sat Oct 24 16:29:09 UTC 2009


On 24 Oct 2009, at 17:17, squiggy wrote:

> It depends on your design. I tend to prefer creating my own perfect
> markup and CSS. Then I change the name of the HTML file to  
> page.tpl.php
> and add in the variables. If I do use Zen, I create my own  
> page.tpl.php
> the same way.
>
> If you start a theme from scratch, check out the Anatomy of a theme
> documentation (http://drupal.org/node/171194).
>
> And this might be more than you were asking about... But the minimum
> required for a theme is an .info file (http://drupal.org/node/171205)
> and a CSS file. Themes automatically recognize a style.css. But if you
> want to add other CSS files, then declare those in the .info file
> (including any style.css).
>
> -squiggy

Thanks for this, very useful.

Would it be safe to assume that if you don't put the variables in then  
Drupal adds nothing?

I'm beginning to think it would be easier to create the markup and add  
Drupal, rather than the other way round.

I'm also trying to get my head round how Drupal would choose different  
page layouts - e.g. If I have one for articles one column) and one for  
a form (two column) is that just down to body class?

How do you match content in Drupal with different page layouts?

(I told you I was new to theming)


More information about the themes mailing list