I am new to Drupal and I am trying to learn as much as I can as quickly as possible. I have many very dumb questions which I could really use some help with.
I've managed to get a rough understanding of the tpl files. As I understand it Drupal loads them in "cascading" fashion.
I am sure someone will have issues with this description, please correct me if this is not correct.
Anyway, my question(s) is / are as follows:
* When writing themes or modules I am not sure what data is available to me and how best to access it.
For example, how best do I show the themes name in footer in page.tpl.php?
* If I create a "content type" how do I best get the fields to display in page--contentTypeName.tpl.php
* Documentation question:
In reference to: http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_c...
On this page (and others) the documentation mentions a function. In this case drupal_common_theme. My question is, is this a function I should have access to in my *.tpl.php files? or do I have to implement this function? If so do I put the implementation in sites/< themeName >/includes/common.inc.
* another random question
What is the proper flow that drupal renders pages
Theme Engine > html.tpl.php > page.tpl.php > node.tpl.php > region.tpl.php > block.tpl.php > module.tpl.php