Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 620 Bytes

explicit_module_renderings.md

File metadata and controls

11 lines (6 loc) · 620 Bytes

Explicit Module Renderings

You can also explicitly render layouts or views directly from a module via the Renderer plugin's renderLayout() and renderView() methods. These methods now can take an extra argument called module.

  • renderLayout(layout, view, module)
  • renderView(view, cache, cacheTimeout,cacheLastAccessTimeout,cacheSuffix, module)

So you can easily pinpoint renderings if needed.

Caution Please note that whenever these methods are called, the override algorithms ALSO are in effect. So please refer back to the view and layout parent lookup properties in your modules' configuration.