Changes between Version 39 and Version 40 of S3/S3Navigation


Ignore:
Timestamp:
03/05/12 20:48:00 (10 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Navigation

    v39 v40  
    372372=== Custom Options Menus ===
    373373
    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.:
     374To 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.:
    375375
    376376{{{
     
    396396}}}
    397397
    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}}}.
     398All 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.
    399399
    400400Options 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.