Changeset 219
- Timestamp:
- 12/01/05 19:26:43 (3 years ago)
- Files:
-
- trunk/doc/book/content/view.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doc/book/content/view.txt
r215 r219 269 269 <?php echo $nav_slot ?> 270 270 271 Suppose that you have a module that will not require the nav_slot defined above. You can simply turn off default slot execution 272 in your modules config/view.yml. 271 Suppose that you have a module that will not require the `nav_slot` defined above. You can simply turn off default slot execution in your modules `config/view.yml`. 273 272 274 273 all: 275 274 use_default_slots: off 276 275 277 If you only have specific actions for a module that don't require the nav_slot, you can turn off the default slot execution for that specific action in your modules config/view.yml.276 If you only have specific actions for a module that don't require the `nav_slot`, you can turn off the default slot execution for that specific action in your modules `config/view.yml`. 278 277 279 278 actionnameSuccess: 280 279 use_default_slots: off 281 280 282 The combinations for this configuration are unlimited. The following would turn off the nav_slotexecution for all actions in a module except for the one action.281 The combinations for this configuration are unlimited. The following would turn off the `nav_slot` execution for all actions in a module except for the one action. 283 282 284 283 actionnameSuccess: … … 288 287 use_default_slots: off 289 288 290 One more configuration option scenario would be if you wanted to turn off the nav_slotfor all actions in a module and execute a new slot and change the layout for this module.289 One more configuration option scenario would be if you wanted to turn off the `nav_slot` for all actions in a module and execute a new slot and change the layout for this module. 291 290 292 291 all: … … 297 296 new_slot: [module, action] 298 297 299 >**Note**: The config/view.ymlfile for your module is not automatically generated by the module initialization. You will need to create this file manually.298 >**Note**: The `config/view.yml` file for your module is not automatically generated by the module initialization. You will need to create this file manually. 300 299 301 300 View configuration