There is currently functionality to specify that activity module does not have url but there are no core activity modules using it. When trying to create module type with inline contents I found that the changes in core are needed.
- 'label' is hardcoded in several places in core
- When displaying the section (ex. print_section()), there is no CSS class assigned for the content of the activity that has no url, which makes it difficult to access it with Javascript
- Javascript delete and hide icons do not work for activities without url (some code hardcoded for labels)
- duplicates
-
MDL-33774 Convert hardcode tests for label to module_supports()
-
- Closed
-
- has a non-specific relationship to
-
MDL-25981 Refactor code around get_fast_modinfo to improve quality, add plugin hooks
-
- Closed
-
- has been marked as being related by
-
MDL-37416 Course formats hide activities and resources behind URLs - need Core changes for new formats to be developed
-
- Closed
-