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

2.0 Lesson, string default changes needed

    XMLWordPrintable

Details

    • MOODLE_20_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide
      1. create new lesson
      2. select 'content page', on content page form scroll down and make sure the button is now labeled with 'save'
      3. add question page, after selecting question type, make sure the button is labeled as 'add a question page'
      4. add the question page, at the bottom of question form, make sure the button is labeled as 'save'
      Show
      create new lesson select 'content page', on content page form scroll down and make sure the button is now labeled with 'save' add question page, after selecting question type, make sure the button is labeled as 'add a question page' add the question page, at the bottom of question form, make sure the button is labeled as 'save'

    Description

      Short version: see post http://moodle.org/mod/forum/discuss.php?d=164368#p721630

      Quick fix:

      change addaquestionpage to read "Add the page"
      change activitylinkname to "{$a}"
      change returnto to "Go to: "

      I think we can put off renaming the addaquestionpage as a $string to something else, just change the default.

      Has to be an error in the lesson php code where it puts the $returnto in front of the $activitylinkedto when there is a linked to activity in Lesson settings. Not sure which file but assume view.php. Here is the screen shot I put in the forum. Of course I put "Wowie I want to go to:" to make sure I had the right string

      Deleted my recreation of the add a content page where it says "add a question page". Changing the default string text seemed elegant and simple. It does not matter that the teacher know it is a question or content or end of branch page for that matter.

      Attachments

        Issue Links

          Activity

            People

              rwijaya Rossiani Wijaya
              rcollman Chris Collman
              Ankit Agarwal Ankit Agarwal
              Dan Poltawski Dan Poltawski
              Frédéric Massart Frédéric Massart
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jul/12