302 | | These classes can be found in {{{modules/eden/menus.py}}} and shall ''not'' be customized in place - instead, any custom menu definitions can happen in models/01_menu.py. The default version of 01_menu.py looks like: |
303 | | |
304 | | {{{ |
305 | | # ========================================================================= |
306 | | # Main menu |
307 | | # |
308 | | current.menu.main( |
309 | | |
310 | | # Standard modules-menu |
311 | | S3MainMenu.menu_modules(), |
312 | | |
313 | | # Standard service menus |
314 | | S3MainMenu.menu_help(right=True), |
315 | | S3MainMenu.menu_auth(right=True), |
316 | | S3MainMenu.menu_lang(right=True), |
317 | | S3MainMenu.menu_admin(right=True), |
318 | | S3MainMenu.menu_gis(right=True) |
319 | | ) |
320 | | |
321 | | # ========================================================================= |
322 | | # Controller menus |
323 | | # |
324 | | s3_menu_dict = { |
325 | | |
326 | | # Define custom controller menus here |
327 | | |
328 | | } |
329 | | |
330 | | }}} |
331 | | |
| 302 | These classes can be found in {{{modules/eden/menus.py}}} and shall ''not'' be customized in place - instead, any custom menu definitions can happen in private/templates/<template>/menus.py. |