if ($hook == 'cron') watchdog('cron', "hit $module cron"); // add this line
<?php
$view = $GLOBALS['current_view'];
$args = $view->args;
print '<br/>args-0 :' .$args[0];
$terms = taxonomy_get_term($args[0]);
echo "<xmp>";
print_r($terms);
echo "</xmp>";
print 'Sorry, there is no content yet tagged for the '. $terms->name .' region. Consider <a href="/node/add/story">submitting</a> an article.'
?>
<?php
$view = $GLOBALS['current_view'];
$args = $view->args;
$terms = taxonomy_get_term($args[0]);
print 'Sorry, there is no content yet tagged for the '. $terms->name .' region. Consider <a href="/node/add/story">submitting</a> an article.';
?>1. create a bookmark
javascript:inum=escape(getSelection());location.href='http://www.drupal.org/node/'+inum
In this recipe we create a browser bookmark to provide rapid access to drupal issue numbers.
In Firefox, click
Bookmarks >> Organize Bookmarks >> Bookmarks Toolbar
Organize >> New Bookmark
Name: Drupal Issue
Location: javascript:inum=escape(getSelection());location.href='http://www.drupal.org/node/'+inum
Click on a Drupal issue number on a web page. For instance, go to:____ and double click the issue number.
Click Drupal Issue in the bookmark toolbar.
Notable.
The Drupal Devel module offers a Function Reference that is helpful. To display it, enable the Devel module, and then place the Devel block in one of your theme's regions.
You will see a link to Function Reference, which leads to here:
http:/www.yoursite.com/devel/reference
You can, however, customize the function list in a way that may be more helpful.
Theme functions
print '
';
$functions = get_defined_functions();
foreach($functions['user'] as $function) {
if(substr($function, 0,6)=='views_' || strstr($function, 'views'))
javascript:(function()%20{jQuery('fieldset').removeClass('collapsed');})()