themeable functions in drupal -- a list
http://api.drupal.org/api/group/themeable/6
see page 181 in the book Pro Drupal Development for details on how to override themeable functions. Make sure any html in your modules is withing a themable function so others can override the html look an feel.
On theming a view in Drupal
text from http://stackoverflow.com/questions/77694/drupal-6-how-to-quickly-theme-…
Here are my findings: (Edited)
In fact there are two ways to theme a view : the "field" way and the "node" way. In "edit View", you can choose "Row style: Node", or "Row style: Fields".
Configuring cron job for Drupal
"In the following example, the crontab command shown below will activate the cron tasks automatically on the hour:
0 * * * * wget -O - -q -t 1 http://www.example.com/cron.php
"
Drupal Calendar View not working and month of November wont show up
"I found by trial and error that setting my server to the local timezone (I am trapped in PHP 5.1) and then default PHP Timezone = TRUE in Date4 makes this go away."
"I suspect that the problem is mostly with PHP.
If possible, the best option is to upgrade your PHP to 5.2.x. I am having good luck with 5.2.9 right now.
If you cannot upgrade your PHP version, you should enable the Date PHP4 module. This module is required for PHP versions less than 5.2. From the Date documentation:
Creating Regions (blocks)
Regions available are in the .info file of your sites theme. To create a new region add it to .info (for intance add: regions[content_top] = Content Top) and then in page.tpl.php you would add
in the location you would like the region to be. See page 408 of the Oreily Drupal Book for more information.
The different template (tpl) files in Drupal
page.tpl.php: controls the layout of the entire page. The overalll screen in which your content types and blocks are laid out
node.tpl.php: used to control the look of each node
block.tpl.php: for control over the look of blocks
page-front.tpl.php: to control the look of just the home page of the site
Theme developer module (part of the devel module in drupal 6)
For help in theming install the Theme developer module. http://drupal.org/project/devel_themer
For Drupal 6, this module was part of the Devel project. For Drupal 7, it is its own project, but relies on the Devel module as a dependency.
Click on any element to see information about the Drupal theme function or template that made it. Page 400 of Using Drupal, by O'REILLY
PHPTemplate and printing out available variables for Drupal
List of available varialbles in Drupal 6, 7: http://api.drupal.org/api/drupal/modules--system--page.tpl.php
http://drupal.org/phptemplate
Excerpt from this link:
Print the variables array
<?php
print '';
print_r(get_defined_vars());
print '
';
?>
Print the variables array with the HTML markup