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

Modification to weekly, weekly css, and topic course formats to print the course fullname in the course heading block.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Inactive
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE

      Description

      At HSU we made modifications to
      course/format/weekscss/format.php on line 90

      original line was
      print_heading_block(get_string('weeklyoutline'), 'outline');

      HSU's change was
      print_heading_block(get_string('weeklyoutline','',$course->fullname), 'outline');

      course/format/weeks/format.php one line 92

      original line was
      print_heading_block(get_string('weeklyoutline'), 'outline');

      HSU line is
      print_heading_block(get_string('weeklyoutline','',$course->fullname), 'outline');

      course/format/topics/format.php on line 103

      original line was
      print_heading_block(get_string('topicoutline'), 'outline');

      HSU line is
      print_heading_block(get_string('topicoutline','', $course->fullname), 'outline');

      This allows us to use the language > language editing > Edit words or phrases > moodle.php
      and add $a to the Weekly Outline language variable and the Topic Outline variable to print out the course fullname. This improvement should allow the basic install of Moodle to still display Weekly Outline and Topic outline in the course header block, but for those installations that would prefer to print the course full name in the course header block like HSU it would allow them that freedom. It could be better to convert this modification to pass the entire course object in case Moodle installations woudl prefer to only display the short name or some other information in the header block.

        Gliffy Diagrams

          Activity

          Hide
          marina Marina Glancy added a comment -

          We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible.

          ==BLK2YIMP20141121==

          Show
          marina Marina Glancy added a comment - We have detected that this issue has been inactive for over two years and also did not collect many votes. It is possible that it has been already implemented in a more recent version of Moodle, or it is not highly demanded. There are unlimited number of ways Moodle functinality can be expanded and improved but we would like to concentrate on the features that will benefit majority of users, and which can not be implemented as plugins. If you have a suggestion for improving Moodle core, and there is no open issue for it in the tracker, please start a new forum discussion to see how many other users agree with you, and then create a new issue providing as many details as possible. ==BLK2YIMP20141121==

            People

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

              Dates

              • Created:
                Updated:
                Resolved: