This site is archived.

From a html/css template to a Drupal theme

Theming, Design & Usability

Presenter:

Track

Theming, Design & Usability

Experience

Beginner

Focus

Designer | Themer

From a html/css template to a Drupal theme

Day:  Wednesday, 25. august 2010
Time:  09:00-09:50
45 minutes (+15 minutes Q&A)

Room:

tags

This session shows how you can turn a html/css prototype into a Drupal theme.

  • Drupal Theme anatomy
  • Filestructure of a Drupal theme
  • Creating a theme as a subtheme of a base theme or starter theme
  • Creating a theme from scratch from your own html/css template
  • .info file
  • css and js in a theme
  • page.tpl.php
  • node.tpl.php
  • regions
  • multiple page, node, block template files
  • variables and preprocessing examples
  • Theme developer module

Resources

Hi Hans, Could you pls zip up

25. August 2010 - 9:41

Hi Hans,

Could you pls zip up the preso and the sample files you've used - and place them somewhere
we can download them?

Kind regards,
Knut

Found the reason why the

25. August 2010 - 10:28

Found the reason why the theme was not displaying: I had to setup in just before the presentation started in a rush a Windows version of the site because I could not get Ubuntu to connect to the projector. Dreamweaver was changing the files in c:/Drupalcamp and should have been c:/wamp/www/d7. So info file is correct.