subject: A Quick Drupal Topic Tutorial [print this page] A Quick Drupal Topic Tutorial A Quick Drupal Topic Tutorial
This tutorial is not designed as an end all education session for understanding to concept drupal, but more as a bare bones newbie manual for the novice drupal person. It is designed not always to educate somebody to topic their personal internet sites but to give the basic concept of how the themes function and why and what the main files of every topic do.
So you don't know something about Drupals theming, nicely despite the fact that you don't necessarily have to, it is constantly a excellent concept to know a small about the workings of your cms. Drupal utilizes what they call themes to manage the appear and experience of a web site. The website is usually damaged down into a number of fundamental elements and the output is generally themed. What does this imply, properly your Drupal website is primarily php information with some HTML and CSS. With a tiny understanding of these you can manage the total seem of your website. Drupal utilizes essentially a template when it produces each and every web page off of details in your database. These essential recordsdata handle the seem of remarks, nodes, blocks and a couple of other locations of the web site. Altering these data can have a dramatic alter in how your web site seems to be.
There are basically a number of recordsdata that all Drupal themes have (Some have much more) a page.tpl.php
This is the primary layout of your pages, it includes php snippets and HTML which the rest of your topic information feed when creating the page.
There is a comment.tpl.php , this document includes the information for your feedback in Drupal.
node.tpl.php , ok you possibly guessed it, its the document that decides what every single node will search like.
field.tpl.php Provides you a field all around your content material.
type.css This is your internet sites principal type sheet. You can manage so significantly with this record that you could expend a full day attempting to figure what each class and id impacts.
There are a couple of other recordsdata typically in each and every topic but these are your workhorses. Other information contain your logo record, info record, and a display screen shot.
Now you have a basic idea of what your topic recordsdata do. Take some time and verify out each file individually, try to realize how they operate and interact. It is by way of altering these recordsdata and including to them that you can begin to produce your personal themes. There is nothing at all improper with taking a single of drupals contributed themes and making use of them to commence function on your personal. read more:css tutorials