Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56267

Number of templates not viewable in template library

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.1.2, 3.2
    • General
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • Templates syntax fixes

      There are a number of templates in moodle that can not be viewed in Site administration ► Development ► Template library
      instead the template source code is displayed. The other problem is that developers copy the incorrect syntax

      Templates are:
      block_lp/*
      core/action_link
      core/action_menu_*
      core/actions
      core/chart
      core/chooser*
      core/dataformat_selector
      core/email*
      core/help_icon
      core/loading
      core/login
      core/modal*
      core/prevent*
      core/select_time
      core/skip_links
      core_admin/setting_configpasswordunmask (example broken)
      core_admin/settings_search_results (example broken)
      core_course/modchooser
      core_form/editor_textarea
      core_grades/*
      core_question/qbank_chooser
      core_search/result
      gradereport_singleview/*
      mod_assign/* (some)
      mod_forum/* (most of them, mod_forum/forum_post_emaildigestbasic_htmlemail even throws AJAX exception)
      mod_lti/* (some)
      mod_quiz/question_chooser
      report_competency/*
      theme_boost/ - all these templates throw exception, we need to fix this in the template library API*
      tool_lp/* (many)
      tool_templatelibrary/list_templates_page (hehe, recursion )

      These templates were introduced in
      MDL-55831, MDL-50439, MDL-54987, MDL-55796, MDL-55701, MDL-55517, MDL-55564, MDL-55594, MDL-55564, MDL-55796, MDL-55584, MDL-55797, MDL-55584, MDL-55594, MDL-55797 - fred
      MDL-51603, MDL-52990 - brendanheywood
      MDL-55727, MDL-55727, MDL-52154 - ryanwyllie
      MDL-55402, MDL-55417, MDL-52954, MDL-51043, MDL-55996, MDL-49459 - damyon
      MDL-31989 - dmonllao
      MDL-52137 - dobedobedoh

      I created this issue as an Epic, feel free to add issues to it to fix individual templates.

      rajeshtaneja, do you think it is reasonable to add a QA test that would ensure that all templates in the templates library have example context?

            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.