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

Related Posts

Comments

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 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.

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

I have litterally spent two days trying to figure out what u said in a few minutes!!! loads of places explain it but with so much unnecessary jargin its impossible to read!!! REALLY appreciate it!

Yes, TPL is a template system. It is like a poor man's website. It enables low-paid 'webmasters' to hold a company hostage because only they can edit the structure. Eventually the pressures of cyberspace will break the template site and you'll have to change it to HTML or some other straightforward structure.

Also when you outsource web development to places like India etc. where they give you an e-commerce site for $500, it will just be a TPL site with your logo stuck on the front.

This is an excellent post. I really appreciate with you. I enjoyed the post. Thanks for sharing.

I found this article is really useful for me in my job. Thanks for sharing this useful information.

Great info buddy, thanks for useful post. I'm waiting for more

This was so helpful. I feel like this was the ONE piece of knowledge that I have been missing over the past 3 months in order to understand Drupal more clearly.

Thank you, thank you! :-)

Add new comment