Changes between Version 38 and Version 39 of S3/S3Navigation
- Timestamp:
- 03/05/12 20:46:10 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Navigation
v38 v39 332 332 === Custom Modules Menu === 333 333 334 The first section of models/01_menu.py defines the application main menu ("modules" menu). In the trunk version, this invokes the respective definition methods of '''S3MainMenu'''. To customize the main menu, you can simply comment the standard option and replace it by a custom definition, e.g.: 334 The first section of {{{models/01_menu.py}}} defines the application main menu ("modules" menu). In the trunk version, this invokes the respective definition methods of the {{{S3MainMenu}}} class in {{{modules/eden/menus.py}}}. 335 336 To customize the main menu, you can simply comment the respective standard option and replace it by a custom menu definition, e.g.: 335 337 336 338 {{{ … … 366 368 This example uses the {{{homepage}}} helper function to define a {{{MM}}} instance out of the module's nice name setting in 000_config. 367 369 368 Mind the trailing commas! Note that you do not need to check for module activation - this happens automatically in check_active: items linked to deactivated controllers will automatically be deactivated.370 Mind the trailing commas! Note that you do not need to check for module activation - this happens automatically in {{{check_active}}}: items linked to deactivated controllers will automatically be deactivated. 369 371 370 372 === Custom Options Menus ===