Changes between Version 39 and Version 40 of S3/S3Navigation
- Timestamp:
- 03/05/12 20:48:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Navigation
v39 v40 372 372 === Custom Options Menus === 373 373 374 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.:374 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}}} with a custom menu definition, e.g.: 375 375 376 376 {{{ … … 396 396 }}} 397 397 398 All controller menus which are not defined in {{{s3_menu_dict}}} fall back to the standard definition in {{{S3OptionsMenu}}} in {{{modules/eden/menus.py}}}. 398 All controller menus which are not defined in {{{s3_menu_dict}}} fall back to the standard definition in {{{S3OptionsMenu}}} in {{{modules/eden/menus.py}}}. Instead of the menu definition in place, you can of course also call a custom function to define the menu - this is especially helpful where certain sequences shall be re-used in multiple places. 399 399 400 400 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.