convert a static html/CSS template into a Drupal 6 theme

No Flash plugin installed

How do I convert a static html/css template into a Drupal 6 theme? We cover the basics in about 10 minutes but it's just the tip of the iceberg.

By mustardseedmedia

Trackback URL for this post:

http://duvien.com/trackback/245

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Great Tutorial

Hey man thanks for the great tut.

Been looking around for this for ages. Was a joomla junkie before but have fallen in love with Drupal.

All the best
Mark

Awesome

Awesome tutorial/guide!

Thanks for this very very helpful guide for converting a CSS site to Drupal. It is actually quite simple to follow & understand.

I do have one problem though, what if my website has more than one html file, i.e. index.html, contacts.html, downloads.html etc..

The index.html will be converted to page.tpl.php, but what about the others? How can we incorporate the pages into drupal?? Keeping in mind that the layout of the pages might sometime differ (i.e. sometimes i have one column page & 2 column page in the other etc). Is there like a page2.tpl.php, page3 etc?
I would appreciate any help in this matter..

Thanks again, i did learn from this guide & it opened my eyes on new methods :)

Sulaiti.A

Yes, you can simply override

Yes, you can simply override the template by creating .tpl.php file as you have stated. So if your download is node/2 then you can create a file call page-node-2.tpl.php and so forth.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.