Creating a Drupal Node programmatically
http://acquia.com/blog/migrating-drupal-way-part-i-creating-node
* also note that node_delete(nid) will delete a node.
http://acquia.com/blog/migrating-drupal-way-part-i-creating-node
* also note that node_delete(nid) will delete a node.
<?php if ($footer_message): ?>
<?php print $footer_message; ?>
hello, html can go here too
very nice :)
<?php endif; ?>
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.
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".
"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
"
"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:
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.
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
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