Changes between Version 27 and Version 28 of MenusPlugin


Ignore:
Timestamp:
Oct 29, 2009, 12:17:02 AM (14 years ago)
Author:
Ryan J Ollos
Comment:

Alphabetical ordering for definition of [mainnav] and [metanav] menu items

Legend:

Unmodified
Added
Removed
Modified
  • MenusPlugin

    v27 v28  
    3636So here come the available properties and their possible values:
    3737||'''Property'''||'''Description'''||'''Example value'''||
    38 ||parent||Make the item a sub-item to the one mentioned as value||top||
    39 ||label||What should be written on the "button"||Team Tools||
    40 ||href||Where the item should link to||/report/1||
    4138||enabled||Must be set to `1` for self defined items to be shown. Can be set to `0` to (temporarily) disable an item.||1||
    4239||hide_if_no_children||Don't display this (sub) menu if it has no children (e.g. the current user lacks the privileges for all sub-items)||1||
     40||href||Where the item should link to||/report/1||
     41||label||What should be written on the "button"||Team Tools||
     42||order||Move an item to the left/right. By default, all items have an order of 999 (who will ever reach 999 items must have done something wrong, really!). Use values from 1..999 to define positions. Use a negative value for an item you want to make sure it always comes first - and a value larger than 999 if it sould always come last.||5||
     43||parent||Make the item a sub-item to the one mentioned as value||top||
     44||path_info||String to be matched with the request path info to decide whether a menu item should be displayed. Useful for context dependent items (e.g. in the ctxnav)||/wiki||
    4345||perm||For items like reports, `hide_if_disabled` does not work, since this is no component. Though, it should not be displayed if it is not available. So you can handle this by defining the required permission.||REPORT_VIEW||
    44 ||order||Move an item to the left/right. By default, all items have an order of 999 (who will ever reach 999 items must have done something wrong, really!). Use values from 1..999 to define positions. Use a negative value for an item you want to make sure it always comes first - and a value larger than 999 if it sould always come last.||5||
    45 ||path_info||String to be matched with the request path info to decide whether a menu item should be displayed. Useful for context dependent items (e.g. in the ctxnav)||/wiki||
    4646
    4747Menu options: