deb http://packages.dotdeb.org stable all deb-src
deb http://packages.dotdeb.org stable all
array('mlid' => 0):
$options = menu_parent_options(menu_get_menus(),array('mlid' => 0));
Line 98 correct function name _nodetrail_recurse_crumbs:
_nodetrail_recurse_crumbs($tree, $item, $crumbs);
type == 'my_node_type'){
$variables['title'] = '';
}
}
}
?>
Works on Drupal 6 How to create secondary local tasks or secondary tabs, also called sub tab (second level) menu items.
It was not clear to me why it was necessary to create a MENU_DEFAULT_LOCAL_TASK in every tab level. In order to tell drupal's menu system to show primary and secondary local tasks, there is a need to create a default local task every time. The default local task points to the same page as the parent item but has a path longer by one element.
Parent path:
'admin'
Default primary local task path:
'admin/home'
Very useful lines of code to embed "Views 2" views into your nodes. Works almost as the old use_pager, $view->nodes_per_block)); ?> in Drupal 5 but for Drupal 6. This is also a way to embed views programatically into your pages and nodes.
The following lines of code will load a view and print the display.
This piece of code is to generate a menu or list of links to taxonomy pages. I used it inside a block. I created a view that shows all items under certain taxonomy term.
It is basically a taxonomy menu but you can customized an place it anywhere.
Good link to learn more about embedding your own views: http://groups.drupal.org/node/10129
I was trying to do the same on drupal 6.x I used to do with drupal 5.x to post a form inside a node. In oder words, to embed a node add form inside the body text area of a page. But I was getting fatal errors. I went to drupal.org site and found out that 6.x doesn't include some files when rendering the pages.
http://drupal.org/node/312189
Basically this is what I used to do on Drupal 5.x: