Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create new theme in drupal 7 [closed]

Tags:

drupal

Can anyone please help me in creating a new theme using drupal 7? I wanted to know the steps to create it. If there is any documentation for creating new themes then it would be great. It would be great if anyone says what is need to write in the files .info, *.tpl.php, .css and .js.

like image 956
Varun Bhat Avatar asked Oct 20 '09 16:10

Varun Bhat


2 Answers

If you are after a simple tutorial on creating Drupal themes, try this one:

  • How to Make a Drupal Theme

This covers version 6, which is the current release of Drupal. I couldn't find anything specific to the upcoming Drupal 7 release, but if you need detailed information on the changes between and 7, try these:

  • Converting 6.x themes to 7.x
  • Drupal 7 theme changes
like image 93
Colin Pickard Avatar answered Oct 27 '22 11:10

Colin Pickard


I think you're really best off by looking at a basic starter theme and going from there. The "Basic" theme is a really good one (http://drupal.org/project/basic) and has a stable D7 release.

Quite a few things have changed, such as the use of html.tpl.php so that you can have multiple page.tpl.php's without having to duplicate the .

EDIT: Why are you creating a theme for D7? Hopefully it's just for practice and not for a real site that will be launching anytime soon?

like image 20
Mike Crittenden Avatar answered Oct 27 '22 11:10

Mike Crittenden