Wednesday, February 20, 2013

How to get started with Drupal 7

To get started, first we need to know what is Drupal. Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization.

Drupal is open source software maintained and developed by a community of 630,000+ users and developers. It's distributed under the terms of the GNU General Public License(or "GPL"), which means anyone is free to download it and share it with others. This open development model means that people are constantly working to make sure Drupal is a cutting-edge platform that supports the latest technologies that the Web has to offer. The Drupal project's principles encourage modularity, standards, collaboration, ease-of-use, and more.

Technical requirements

For Drupal 7, you need the following to get started:
Web Server: Apache or Microsoft IIS
PHP: 5.2 or higher
Database Server: MySQL - 5.0 or higher, PostgreSQL - 8.3 or higher, or SQLite

Drupal is web-based, which means it is compatible with all operating systems.

More detailed information on the system requirements.

Understand Drupal concepts

Before you install Drupal and begin using it, it’s a good idea to get an overall sense of what it is, and how it works. This section gives you the big picture, helps you to frame how you think about Drupal, and assists you in determining whether it’s a good fit for your project. This small investment of time up front will help you immeasurably in the long run.

Drupalize.Me has a lengthy (64 minutes) video that explains many of the key concepts in Drupal in a way that's easy to understand for the uninitiated... Understanding Key Concepts in Drupal

Understand Drupal in General

The Drupal way: manageable abstraction

Effective Web design is driven by the need to balance flexibility and simplicity. If a system is too simple, it can only be used for a single purpose - but if it is too flexible, it may be too difficult for new users to learn.

Drupal strives to reconcile these conflicting goals by providing its users with the tools they need to make their own content management solution, while still providing some pre-built components to help them get started. Thus, it can be described both as a content management system (CMS) and a content management framework (CMF) - one system which strives to have the strengths of both, without their deficiencies.

Most CMS's are like a toy boat or truck - specific assumptions have been made about their use, assumptions that would be hard for you to override. Frameworks, on the other hand, provide you with raw materials only - you need to know a programming language and have a clear design vision to put them together.

Drupal is like a Lego kit. Skilled developers have already made the building blocks - in the form of contributed modules - that you need to create a site that suits your needs, whether that is a news site, an online store, a social network, blog, wiki, or something else altogether.
Drupal in action

To make the contrast between Drupal and other CMS's more concrete, consider the example of a news site. You want to be able to post news articles on the site, and you want the homepage to have a section featuring the five most recent ones. Next, you decide that you want to add a blog section, and put a list of links to the five most recent of blog entries on the homepage as well.

If you were using an ordinary CMS, first you would install a plugin that handled news articles and could put short blurbs on the homepage. Next, you’d install a plugin that would track the latest blog posts and put a list of those on the homepage. Each plugin would only be responsible for tracking and managing a particular kind of content, and would remain relatively isolated from the others.

But, what happens when you have that brilliant middle-of-the-night idea, and want to blend these two functions by showing a list of blog posts about the latest news items, ordered by most active contributor first? If you’re using a “toy truck” CMS, you may be out of luck, or need to hire a developer to write you a custom plugin from scratch. But through the power of the Drupal way, the way of manageable abstraction, you can whip out a kit full of parts and knock this together pretty quickly. (Hint: just use Views.) Since Drupal's modules do things in a standard way, and interface with a common underlying system, building all sorts of clever, customized features is just a matter of snapping parts together.

Of course, this flexibility comes at a certain cost. While a toy truck is instantly understandable and ready to use without much thought, a modular vehicle construction kit will by nature require you to read the instruction manual first. The building blocks are out there, but you'll need to learn how they fit together before you can take a paper prototype and turn it into a full-featured website.

Drupal core, and the thousands of contributed modules that build on it, require an initial investment to learn, but mastering the Drupal way is immensely rewarding; the passionate community is a testament to its power to liberate site builders from the simplicity/flexibility dilemma. Once you've tried Drupal, you'll likely leave your toy truck and boat in the closet gathering dust.

How Drupal does it

Intrigued yet? Let's take a closer look at how Drupal works.

People often think of a website as a collection of static pages, with some functions (like a blog, or a news engine) thrown in to round it out. When they go to manage their site, they are thinking in terms of a tree-like hierarchy of pages that they will go in and edit.

Drupal, on the other hand, treats most content types as variations on the same concept: a node(more on this in a moment). Static pages, blog posts, and news items (some possible node types) are all stored in the same way, and the site's navigation structure is designed separately by editing menus, views (lists of content), and blocks (side content which often have links to different site sections).

It’s a lot like the separation you find in standards-compliant page coding—XHTML provides the meaningful structure of the information, while CSS arranges it for presentation. In Drupal, nodes hold the structured information pertaining to a blog post (such as title, content, author, date) or a news item (title, content, go-live date, take-down date), while the menu system, as well as taxonomy (tagging of content) and views, create the information architecture. Finally, the theme system, along with display modules like Panels, controls how all this looks to site visitors.

Since these layers are kept separate, you can provide a completely different navigation and presentation of your content to different users based on their specific needs and roles. Pages can be grouped differently, prioritized in a different order, and various functions and content can be shown or hidden as needed.
Nodes: The secret to Drupal's flexibility

We don't talk about "nodes" every day, but since they are at the heart of Drupal's design, they deserve further investigation. At its most basic, a node is a set of related information. When you create a new blog post, you are not only defining its body text, but also its title, content, author link, creation date, taxonomy (tags), etc. Some of these elements will be shown by the theme layer when the node is displayed. Others are meta-data that control when the node will show up at all - such as taxonomy or publishing status.

Since each item of content is stored as a node, and contains the same basic information, each can be handled in a standard way by both Drupal core and contributed modules. This allows site builders to choose exactly where they want content to show up, and exactly how they want it to look in each case. Most of a Drupal site builder's time is spent defining what kinds of information you want to store in your nodes, and configuring the structures (menus, taxonomy trees, views, panels) in which to display them.

As suggested before, you aren't limited to a single way of presenting your site's content. You can define as many navigation schemes, custom themes ("skins" for the site), blocks (small bits of content, such as the five most recent blog articles described earlier), and feature sets as there are distinct audiences for your site.

Comments are second-class citizens in Drupal compared to nodes, but they also illustrate the Drupal way. Comments aren’t just part of the blog system, since there isn't a separate "blog system." Comments can be enabled on any node type you choose - blog posts, news items, book pages (which provide basic wiki features) and any other you may create.
Collaborative at the core

Creating an informational website that broadcasts from “one to many” is something that most CMSs do right out of the box. However, where Drupal really shines is when you want to empower site users to create content, and connect with each other - moving from "one to many" to "many to many."

With some CMS's, you can set up a blog, and you can install plugins to handle having a community of users, but what happens when you want to give individual blogs to each of your users, sorting their contents so that they can be displayed individually with their own skins, while also generating cross-blog topical digests, top five lists, and links out to elaborate, customized user profiles? What if you want to also integrate that in with forums, a wiki-like environment, and give each user their own gallery of taggable photos?

Drupal is designed from the ground up so site builders can delegate content creation, and even site administration, to users. All you have to do is define who gets to do what on your site (through user permissions), and then you can start collaborating.
Get started quickly, customize extensively

Drupal's flexibility is incredible, but installing it is surprisingly easy. With a simple FTP upload and a few short web-based configuration questions, you can connect with your database and have your first Drupal site up and running within an hour.

Pick one of the included themes, and just start adding content. Do you want to have visitors log in? Switch authentication on or off. Want to switch on some of the included tools? Turn on forums; enable commenting on node types; turn on the book module for wiki-like collaboration; create forums and polls; use taxonomy to give site content structured, hierarchical categorization or free-form tagging.

Do you want your own skin applied to the site? Drupal's theme system uses tiny snippets of PHP that you can insert into the appropriate spots in your design to replace your placeholder Lorem Ipsum text with dynamic content. Drupal’s generated markup is clean, standards-compliant XHTML. No old-school tables. No cruft. No kidding.

The Drupal flow

If you want to go deeper with Drupal, you should understand how information flows between the system's layers. There are five main layers to consider:


At the base of the system is the collection of nodes—the data pool. Before anything can be displayed on the site, it must be input as data.
The next layer up is where modules live. Modules are functional plugins that are either part of the Drupal core (they ship with Drupal) or they are contributed items that have been created by members of the Drupal community. Modules build on Drupal's core functionality, allowing you to customize the data items (fields) on your node types; set up e-commerce; programmatically sorting and display of content (custom output controlled by filters you define); and more. There are thousands of different options within the fast-growing repository of contributed Drupal modules. They represent the innovation and collaborative effort of everyone from individuals to large corporations.
At the next layer, we find blocks and menus. Blocks often provide the output from a module or can be created to display whatever you want, and then can be placed in various spots in your template (theme) layout. Blocks can be configured to output in various ways, as well as only showing on certain defined pages, or only for certain defined users.
Next are user permissions. This is where settings are configured to determine what different kinds of users are allowed to do and see. Permissions are defined for various roles, and in turn, users are assigned to these roles in order to grant them the defined permissions.
On the top layer is the site theme (the "skin"). This is made up predominantly of XHTML and CSS, with some PHP variables intermixed, so Drupal-generated content can go in the appropriate spots. Also included with each theme is a set of functions that can be used to override standard functions in the modules in order to provide complete control over how the modules generate their markup at output time. Templates can also be assigned on-the-fly based on user permissions.

This directional flow from bottom to top controls how Drupal works. Is some new functionality you want not showing up? Perhaps you uploaded the module into the system but have not activated it yet, and this is making everything downstream non-functional (as in "A" in the diagram above).

Maybe the module is installed and activated, but you still don’t see what you want on your site. Did you forget to place the block, as in "B"? Or are your user permission settings conflicting with what you want and your users are not set to see the output as in "C"?

Additionally—as mentioned earlier—getting the kind of granular control you want over the details of the XHTML module outputs requires understanding this flow. Are you using a module that does exactly what you want, only you wish the markup was just a little bit different? Maybe you’d like it to use different tags, or you’d like to assign a CSS class to something? You accomplish this by copying the output function from the module and pushing it up to the functions document in your theme. Modify the code there, and when the system goes to output, it will see your customized function and use that instead.

Now that you’ve gotten a brief introduction to the Drupal way, why not install Drupal on your server and try it for yourself? 

Welcome to the community of Drupal users, and happy site building!

Getting support from the community

The passionate volunteer Drupal community is on hand to give support via various vibrant IRC channels, in the forums, and face to face atDrupal events. The community has also created Documentation for Drupal, which covers major topics related to working with Drupal. The worldwide community drives the innovation that makes Drupal the preferred choice for web developers and site owners. Everybody can get involved and make a difference to Drupal.

Knowing Drupal's history

Dries Buytaert began the Drupal software as a message board in 1999. Within a year or so, more people became interested using and contributing to Drupal, so the project was made open source. Drupal.org came online in 2001, and the Drupal community gained momentum in 2005 with several code sprints and conferences. Read more about the fullhistory of Drupal and Druplicon.

Commercial services

As well as the community, there are many dedicated companies in the Marketplace to help with your Drupal project. Providing expertise and a deeper understanding, they can help with design, development, hosting, spam blocking, theming, training, and more.




Tuesday, February 19, 2013

How to make a simple Drupal 7 theme


Drupal theming can seem complicated and overwhelming. Even basic starter themes are filled with confusing PHP and convoluted CSS. What's a designer to do? Never fear, it is completely possible to create your own theme from scratch. This article will demonstrate a step-by-step process for creating your own Drupal theme, including a .info file, page template, regions, and CSS.
This article will assume that you have some basic knowledge of Drupal setup, theming, and terminology. It will also assume that you know all the HTML and CSS you need to build your design. This article will only cover Drupal-specific coding techniques.

Why create a theme from scratch?

Instructions for creating a Drupal theme usually tell you to start with an existing theme or base theme and customize it for your needs. The first problem with this is that existing themes are usually very generic. They often include options to have left or right columns (or both), lots of regions, and all the CSS that makes it work. This is fine if that's what you need, but it also results in very convoluted template files and CSS that can be difficult to understand. Much of the CSS may not actually be used on your site, but you can't remove it if you aren't sure where it might be in use. Customizing a theme like this for your own site can be frustrating.
The other problem with this is that it doesn't help you to understand how Drupal theming actually works. Working from scratch will help you to gain a better understanding of the theming system.
You may believe – as I did – that creating a Drupal theme is so complicated that it would be too difficult to build one on your own. As I hope you'll find in this tutorial, that really isn't the case.

Creating your theme

1. Create the folder structure

First you need to create a folder for your new theme. This should go in sites/all/themes orsites/yoursite/themes depending on whether this theme should be available to all sites on your installation or just one site. Give the folder a unique name that describes your theme (no spaces).
I find that it’s also useful to include sub-folders for images and CSS files. This helps to keep things organized. A folder structure for a simple theme could look like this:
  • Theme name
    • css
    • images

2. Create the .info file

In Drupal 6 and above, all themes have a .info file that provide some basic information about the theme. Some of this information is used on the administer themes page, and it also determines which features are available in the theme settings.
This is a simple text file with a .info extension. The name you give this file will be used by Drupal internally (e.g. if you call the file yourtheme.info, the internal label will be "yourtheme").
Inside the .info file, we’ll need to enter information about our theme in key-value pairs. These include:
name - a human-readable name of your theme
description - a description of the theme
core - the version of Drupal this is designed for
engine - the templating engine your theme will use (probably phptemplate)
regions - the block regions available. The machine name of the region is included in square brackets (e.g.regions[sidebar_first]). This will be used to insert the region into your template files. The label you assign to it will be used in the admin interface when assigning blocks to your regions.
In Drupal 7 you must include the content region in addition to any custom regions you need for your theme. It is a good idea to use the standard Drupal names for sidebar regions ("sidebar_first" and "sidebar_second" in Drupal 7). This will enable Drupal to add classes to the <body> tag to indicate which sidebars are in use (no-sidebars, sidebar-right, sidebar-left).
features - theme components that can be turned on or off in in the Drupal admin interface (e.g. option to specify a site name, mission statement, logo etc.). Only the features listed in your .info file will be available on the admin page and as variables in your page template (more on that later). If you want to clear all features, leave it blank. To include all features, omit the features item entirely.

Using custom theme settings (features)

Some of these elements specified in the features key may not be necessary for your theme. By default, blocks are available for the standard navigation menus (main menu and secondary menu). The theme will pick up the shortcut icon (favicon.ico) file in your theme directory. If you're like me, you may prefer to code your logo image in your page template rather than uploading one through the admin interface.
Specifying these options is only necessary if you want to:
  1. code the variables into your template file and/or
  2. allow users to turn them on or off in the theme admin settings
In the case of the logo and the shortcut icon, upload forms will be made available in the admin page, which is only useful if you want to be able to change them easily.
Some of these options make much more sense for themes that will be used by a variety of different sites (e.g. the default Bartik and Garland themes). For a custom theme for an individual site they may not be as useful.
stylesheets - your CSS files. The media type is included in the first set of square brackets (e.g. stylesheets[all][] or stylesheets[print][])
scripts - any scripts required by your template (remember that Drupal comes with jQuery, so you don't need to include it here)
The scripts and stylesheet values are relative to the theme directory (i.e. the /sites/yoursite/themes/yourtheme path is automatically included). If you want to specify a file outside this directory you need to enter the path relative to the theme directory. See the comments on the .info documentation page for instructions on including an external script. 
Here is a sample .info file:
name = My Cool Theme
description = Custom theme for my site
core = 7.x
engine = phptemplate

regions[header] = Header
regions[sidebar_first] = Right sidebar
regions[content] = Content
regions[footer] = Footer

stylesheets[all][] = css/style.css
stylesheets[print][] = css/print.css

features[] = name
features[] = main_menu
More information about .info options, including default values and some additional optional keys, is available at drupal.org.

3. Understanding Drupal template files

Drupal themes are based on template files, defined with the extension.tpl.php. These files contain the html for your theme, as well as some variables that tell Drupal where to put things.
If you want to create a very simple theme, you actually don't need to have any template files at all. Your theme could be just CSS. Drupal comes with default template files for all of the code it outputs. These defaults are included with the module that generates the content for a particular element. For example, the html mark-up for a node is included with the node module as node.tpl.php. The html code for a block is included with the block module in the block.tpl.php file.
You only need to create your own version of a template file if there is something you want to change from the defaults. Otherwise, Drupal will simply use the default file. It is never a good idea to make changes to the default ("core") files in Drupal. Always use the proper method for overriding code in your theme. 
To create your own version of a template file, copy the default version from the module folder that created it, and place it in your theme folder. Sometimes it could be difficult to determine which module created a particular piece of code. If you're really having trouble, try the theme developer module.
The most important template file, and the one you will most likely want to change, is the page.tpl.php. This template file contains the code for the body of the page. The default page.tpl.php file is contained in the system module. The default does contain a lot of extra options that you might not need, so for this tutorial, we will write our own page.tpl.php from scratch.
In Drupal 7 there is also an html.tpl.php template, which includes code for the overall structure of the document (the doctype, the <head> section, and opening and closing <body> and <html> tags). We won't look at this file because there's not very much to worry about there. As always, if you want to change something you can simply copy the default from the module that created it (in this case, the system module) to your theme folder.

3.1 Create the page.tpl.php

To begin building your theme files, start by creating a new, empty text file called page.tpl.php. In here will go all the code for the main <body> section of your theme. This file consists of three elements:
  1. The HTML mark-up for your theme (containing div's, and any other major structural elements)
  2. Region definitions
  3. Variables for other content items (e.g. title, navigation tabs)
Start by creating the basic HTML structure for your page. This would include any containing div's or sections you need to create your site. For our sample theme, we'll start with a very basic structure with header, content area, sidebar, and footer:
<div id="header">

</div>
<div id="wrapper">

  <div id="content">

  </div>
  
  <div id="sidebar">

  </div>

</div>

<div id="footer">

</div>

3.2 Create your regions

Any part of your page that you want to be editable in the Drupal interface (via Blocks) needs to become a region. In our sample site, this includes header, right sidebar,  content area, and footer. Don't forget that all of your regions need to be introduced in the .info file first.
You don't actually have to define any custom regions – Drupal will provide a set of default regions if you don't specify any. These include header, highlighted, help, content, sidebar_first and sidebar_second.
In Drupal 7 variables, including regions, are inserted using Render Arrays. You don't need to know much about this right now, except that it is a way of ouputting regions and other elements into your page template. I will try to explain this in more detail in a future article.
With the exception of the content region, there is a chance that the region will be empty (e.g. if there are no blocks placed in a given region). You probably don't want anything to be printed if the regions are empty. These variables need to be surrounded by conditionals, checking to make sure they exist.
The following code creates a conditional to check that the footer region has something in it, then prints out the contents:
<?php if ($page['footer']): ?>  
  <?php print render($page['footer']); ?>
<?php endif; ?>
Repeat this code for each of your regions, replacing the $page['footer'] variable with the machine names of your regions (the ones in the square brackets in your .info file). The content section is an exception, in that it does not need to be surrounded by a conditional statement (there will always be something in the content region).
Whether you want the containing div's to be inside or outside of the conditional depends on the design of your site – do you want the <div> to be there if the region is empty?
Here is what our sample page.tpl.php file looks like at this stage:
<div id="header">

</div>

<div id="wrapper">

  <div id="content">
    <?php print render($page['content']); ?>
  </div>

  <?php if ($page['sidebar_first']): ?>  
    <div id="sidebar">
      <?php print render($page['sidebar_first']); ?>
    </div>
  <?php endif; ?>
</div>
<div id="footer">
  <?php if ($page['footer']): ?>  
    <?php print render($page['footer']); ?>
  <?php endif; ?>
</div>

3.3 Add variables for basic page elements

There are other parts of the page that exist outside of regions. At this stage we will add variables for key page elements, including the page title and Drupal navigation tabs. As described on the Drupal documentation page,there are many variables available to page.tpl.php. What you include depends on what functionality you want your theme to have. Do you want breadcrumbs? If so, put in the $breadcrumbs variable.
Some of the most common are:
  • $site_name
  • $logo (the logo uploaded through the theme settings; only useful when you're implementing the logo theme feature)
  • $title (the page title)
  • $main_menu
  • $secondary_menu
  • $breadcrumbs
There are also some variables associated with Drupal administration:
  • $tabs (menu used for edit/view admin menus, among other things; often used by modules)
  • $messages
  • $action_links
And some other useful  variables:
  • $base_path (the path to your site root)
  • $front_page (the path to the site front page)
  • $directory (the path to your theme)
Variables are inserted using the Render API, like this:
<?php print render($tabs); ?>

A note on menus and theme settings

Blocks for the standard navigation menus (main menu and secondary menu) are provided by default but they are also available as variables. You could use either method for inserting the links into your page template. If you want to be able to move them around easily, they should be blocks. Otherwise they can be hard-coded into the template using variables if you prefer.
Similar logic can be used for determining which way to display other common site elements such as the logo. Do you want to be able to easily change the logo through the admin interface or turn the main menu off? If so, use the theme settings and associated variable. If not the variable can be placed directly into the page template.
The desirability of being able to manipulate these elements within the admin interface depends on the purpose of your theme. If this is a generic theme, to be used by many different sites, it is probably a good idea to make it easy to change the placement of navigation menus, or to upload a new logo. If you are designing a site for a client, on the other hand, you might not want them to change the logo or move around the navigation menus.
Another important point is that menu links are returned as an array. When you include this in your page template, you need to expand it by sending it through theme() which will expand the array:
<?php if ($main_menu): ?>
  <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu'))); ?>
<?php endif; ?>
For this example, I have included the logo as a simple <img>, rather than using the $logo variable, since I don't need or want to be able to upload that through the admin interface. This also demonstrates the $base_path, $directory, and $site_name variables.
Note that in Drupal 7 there are now $title_prefix and $title_suffix variables. Modules may make use of these items, so it is important to include them in all themes.
Also note that some variables need to be displayed using the render() function, while others can simply be printed. How do you know the difference? If there variable is an array (as listed on the page.tpl.php reference page), you need to use render(). If not, you can just print the variable (<?php print $variable; ?>). If you're having trouble you can also check the default page.tpl.php and see how they did it there.
This is what our page.tpl.php file looks like now:
<div id="wrapper">

  <div id="header">
    <a href="<?php print $front_page;?>">
      <img src="/<?php print $directory;?>/images/logo.png" alt="<?php print $site_name;?>" height="80" width="150" />
    </a>

    <?php if ($main_menu): ?>
      <?php print theme('links', $main_menu); ?>
    <?php endif; ?>

  </div>

  <div id="content">
    <?php print render($title_prefix); ?>
      <?php if ($title): ?><h1><?php print $title; ?></h1><?php endif; ?>
    <?php print render($title_suffix); ?>

    <?php print render($messages); ?>
    <?php if ($tabs): ?><div class="tabs"><?php print render($tabs); ?></div><?php endif; ?>
    <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>

    <?php print render($page['content']); ?>
  </div>

  <?php if ($page['sidebar_first']): ?>  
    <div id="sidebar">
      <?php print render($page['sidebar_first']); ?>
    </div>
  <?php endif; ?>

  <div id="footer">
    <?php if ($page['footer']): ?>  
      <?php print render($page['footer']); ?>
    <?php endif; ?>
  </div>

</div>

4. Build your CSS

This step works pretty much the same way as it would on any other site. You probably have your own techniques for this, so go to it! 

5. Try it out!

Now that your page template is created, you can enable your theme and see how it works. If you make some changes and don't see them reflected on your site, try clearing the theme registry (cache) by going to Site Configuration > Performance and clicking the button to clear cached data.
This is almost always the solution to problems with changes to your theme not appearing. If you haven't already, click the little "+" button next to the title on the Performance page to add this to your custom toolbar.

6. Create your screenshot

In the Drupal admin interface a screenshot will appear next to your theme name. To make this image, simply create a screenshot of your finished site, resize and crop to 150x90, and place it in your theme directory. It should be named screenshot.png. 
Drupal does have some guidelines on creating a screenshot file, but these only need to be followed if you intend to contribute your theme to the Drupal theme repository.

Download theme files

Download the theme files created for this tutorial: mycooltheme.tar.tz.
For this example I have included a very simple stylesheet to show the arrangement of the basic elements. If you want to use this theme as a starting point for your own design you can easily remove this CSS.

What’s next?

This is just the tip of the iceburg as far as Drupal theming goes. There are many, many other things you can do with your theme. Hopefully this is enough to get you started with your own theme, and to gain a better understanding of the Drupal theming system. Check back at A Padded Cell soon for more articles on Drupal theming techniques.

Discussion

To discuss, ask questions or comment on this article please see the Webmaster Forums discussion on How to create a Drupal 7 theme from scratch. Please post there if you find anything in this tutorial to be confusing.

Resources

AttachmentSize
mycooltheme.tar.gz7.76 KB
Author: Megan