• Home
  • About Us
  • Resources
  • Articles
  • Site Update Info
  • Contact
Home
Home

Drupal 5 Theming Tips

PostDateIcon September 1, 2008 | PostAuthorIcon Katy
  • [View]

Steps to Building a Theme for Drupal 5.x

A. Design layout in Photoshop and produce .psd file
B. Convert .psd to css/xhtml
C. Choose a starting theme to modify or code a new theme from scratch.
D. Katy's notes

A. Design layout in Photoshop and produce .psd file
1. If your design skills are limited, there are many open source templates you can choose from. http://www.oswd.org

B. Convert .psd to css/xhtml
1. Convert .psd to .jpg and slice up using Imageready (available in Adobe Photoshop).

2. Build your webpage using xhtml/css. Start with the Docctype Declaration. You can use a pre-made css layout. See http://www.code-sucks.com

3. Here's an excellent tutorial that I found helpful. It explains all the div tags that wrap around the sections of the webpage. Go through the Step by Step Tutorial: http://css.maxdesign.com.au/selectutorial/tutorial_intro.htm

4. The tutorial on how to use css to display images in a paragraph of text was very helpful as well.
http://css.maxdesign.com.au/floatutorial/index.htm

5. There are many different styles of menus to choose from. Horizontal menus, or vertical menus, using image rollovers or drop down menus.

Max Design has many css menus made using lists:
http://css.maxdesign.com.au/listamatic/

For menus with image rollovers: www.monkeyflash.com/css/image-rollover-navbar/

C. Choose a starting theme to modify or code a new theme from scratch.
1. After you have built your page with css/xhtml, you can convert it to work with Drupal. Modify page.tpl.php and style.css

Drupal 5 Themes by Ric Shreves covers the basics of Drupal Theming.

See also http://drupaldojo.net/lesson/theming-like-a-pro

Other resources:
http://css-tricks.com/videos/

Pro Drupal Development has a free chapter on theming. It's a free download at
Chapter 8 of Pro Drupal Development on the Theme System

D. Katy's Notes

My favourite theme to customize is My Golden Hour available at http://www.drupal.org/project/golden_hour. It has a large photo in the header and a horizontal menu underneath the photo. I used this theme for this blog, mydrupal.ca.

I added the rotating photo header from Drupal 5.x Marinelli theme. When you press the refresh button on your browser, you can see the new photo. There's a small bug. The photo should change when you click on each menu button. This feature works properly in Drupal 5.10 so I guess I need to upgrade :-)

I look forward to your comments and links to other helpful tutorials, screencasts and videos on the topic of Drupal 5 Theming.

Bookmark/Search this post with:
PostCategoryIcon Digg Digg  | PostCategoryIcon del.icio.us del.icio.us  | PostCategoryIcon Google Google  | PostCategoryIcon Yahoo Yahoo  | PostCategoryIcon Facebook Facebook  | PostCategoryIcon Twitter Twitter
PostCategoryIcon Printer-friendly version  | PostCategoryIcon Send to friend   | PostTagIcon Tags: Theming

Hi

Submitted by piter (not verified) on September 11, 2009.

Just want to thank you for very informative post, regards Ed

  • reply

RSS - never mind

Submitted by Scott Morgan (not verified) on September 2, 2008.

Found it! Never mind :)

  • reply

RSS

Submitted by Scott Morgan (not verified) on September 2, 2008.

Katy:

Congrats on a great website. I recommend activating RSS so we can keep up-to-date with your latest posts.

-Scott

  • reply
Post new comment
The content of this field is kept private and will not be shown publicly.
  • 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><pre>
  • Lines and paragraphs break automatically.

More information about formatting options

Subscribe by RSS
Syndicate content
Recent blog posts
Lesson 2: How to Create Site Update Info
Jan 25, 2011
Lesson 1: How to Build Your First Drupal
Jan 01, 2011
Drupal Study Group - Learn Custom Module
Jan 01, 2011
My Top 6 Free Themes for Drupal 6 for 2010
Dec 31, 2010
New site upgrade with new Drupal Training
Dec 31, 2010
Recent comments
  • VERY NICE JOB FOR
    Jan 30, 2012
  • VERY NICE JOB FOR
    Jan 30, 2012
  • VERY NICE JOB FOR
    Jan 30, 2012
  • Great Lesson!
    Jan 10, 2012
  • Thank you very much
    Jun 02, 2011
Popular blog posts
Drupal Advanced Forum vs. phpBB Forum 132,137
How to Convert PSD to Drupal Theme 14,911
Newsletter Subscriptions for Drupal 6 3,508
How to Kill Spam on your Drupal Contact Form 3,506
My Top 5 Drupal Themes 3,362

Copyright © 2009-2011 SeascapeWebDesign.com