-
Bug
-
Resolution: Fixed
-
Major
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE
-
MDL-50085-master -
The search paths for templates is currently a bit too flexible. E.g. if you request a template core/blah from a plugin renderer it will search for plugin/blah and then core/blah. This was based on how the renderers work, but is too flexible and confusing. It will be faster and more predictable to search only in the specified.
Also - core subsystems must be allowed to have a templates folder. This will be important to separate the reusable generic templates from ones specific to a subsystem.
Note - this is how it is documented: https://docs.moodle.org/dev/Templates
- blocks
-
MDL-49870 Make the template library smarter when displaying documentation
-
- Closed
-
- has been marked as being related by
-
MDL-49869 Consolidate Mustache loader logic between Ajax and core renderers
-
- Closed
-
- will help resolve
-
MDL-50040 Renderer subtypes should find templates in the "templates" directory only.
-
- Closed
-