Changes between Version 37 and Version 38 of S3/S3Navigation
- Timestamp:
- 03/05/12 20:42:51 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Navigation
v37 v38 370 370 === Custom Options Menus === 371 371 372 To customize a controller menu, you can override the standard menu in the s3_menu_dict, e.g.:372 To customize a controller menu, you can override the standard menu in the {{{s3_menu_dict}}} in the second section of {{{models/01_menu.py}}}, e.g.: 373 373 374 374 {{{ … … 394 394 }}} 395 395 396 All controller menus which are not defined in s3_menu_dict fall back to the standard definition in S3OptionsMenu in modules/eden/menus.py.396 All controller menus which are not defined in {{{s3_menu_dict}}} fall back to the standard definition in {{{S3OptionsMenu}}} in {{{modules/eden/menus.py}}}. 397 397 398 398 Options menus which are to be shared by multiple controllers must ''not'' define the controller in the root item, but instead at the first sub-item level. 399 399 400 Items which shall match multiple functions can take a list of function names for the parameter f, where the first function name is used to render the URL, i.e.:400 Items which shall match multiple functions can take a list of function names for the parameter {{{f}}}, where the first function name is used to render the URL, i.e.: 401 401 402 402 {{{