Changes between Version 44 and Version 45 of S3/S3Navigation
- Timestamp:
- 03/05/12 21:29:33 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Navigation
v44 v45 410 410 == Manipulating Menus == 411 411 412 After a menu has been defined, you can modify its attributes in the controller. To access the current menus, use: 413 414 {{{ 415 current.menu.main 416 }}} 417 ...for the main menu, and 418 419 {{{ 420 current.menu.options 421 }}} 422 ...for the current controller menu. 423 424 === Tree manipulation === 425 412 426 You can use the call-method later to append more items: 413 427 {{{ … … 447 461 Thus, if you want to re-use a sequence of menu items, make their definition a function and call it at each place you need the sequence. 448 462 463 === CLI methods for testing === 464 449 465 NB: at the CLI, you can also see the item rendered as HTML, by calling: 450 466