convert a static html/CSS template into a Drupal 6 theme
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.
Trackback URL for this post:
http://duvien.com/trackback/245


Delicious
Digg
StumbleUpon
Facebook
Google
Yahoo
Technorati













Comments
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.
Post new comment