If context.view_name is set after the controllers execution, the view which matches this name will be searched for.

Since every plugin and the application core can register new views within their views-folder, it may be unclear which one to take. That's why there is a search order:

  1. same plugin
  2. different plugin
  3. core

If the search was not successful an error will be triggered.

If you accidently register the same view in multiple plugins, spludo will throw a warning.

Comments