/[drupal]/contributions/modules/primary_links/README
ViewVC logotype

Contents of /contributions/modules/primary_links/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun May 1 21:43:11 2005 UTC (4 years, 6 months ago) by ber
Branch: MAIN
CVS Tags: HEAD
As agreed in the meeting (http://drupal.org/node/18575) a module to handle this, untill the menus are sorted out.
Now that PHPtemplate goes into core, this module should be integrated in iether the default theme system or at least in PHPtemplate.
I contributed this one in contribs, so that all you people can try it out, debug it, and improve it (hint, hint). :)
1 Generate the horizontal menu. Often referred to as primary and secondary links.
2
3 @param $pid
4 The menu ID where to render from. All children of this menu item will be rendered,
5 but the item itself will be omitted.
6 defaults to NULL, meaning it will use the settings from menu.
7 @param $start_level
8 provide the number of levels under the pid you want to show your items.
9 For example, if you want to show the secondary items somewhere else, you call
10 theme_tabs_menu_tree with a $start_level 2.
11 * @param $end_level
12 provide the number of levels under the pid you want to show children of your items.
13 For example, if you want to show the secondary and tertiary items somewhere else, you call
14 theme_tabs_menu_tree with a $start_level 2 and $end_level 3; Provide 'inf' if you want to show all items.
15 If you want only onle level , say level 2, give $start_level = 1 and $end_level = 1.
16 @param $show_empty
17 can be 'TRUE' or 'FALSE'
18 used to render an empty secondary link tab, if therre are no secondary items.
19 if no empty tab is rendered, it is very difficult to design the page in a consistant
20 way. Defaults to 'TRUE'
21
22 Get hold of berkes @ irc or berkessels curlythingy gmx dot net for bugs and info.

  ViewVC Help
Powered by ViewVC 1.1.2