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

Print URL of the generated course

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.8.8
    • 3.0
    • General
    • MOODLE_28_STABLE
    • MOODLE_30_STABLE
    • MDL-51632_echo_url
    • Hide
      Quiet mode
      • Run:

        php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS1 --quiet --size=XS --filesizelimit=1024 --bypasscheck
        

      • There should be no output.
      With output:
      • Run:

        php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS2 --size=XS --filesizelimit=1024 --bypasscheck
        

      • There should be output similar to:

        * Creating course GENERATED_XS2
        * Checking user accounts (1)
        * Enrolling users into course (1): done (0.1s)
        * Creating assignments (1): .done (0.2s)
        * Creating pages (1): done (0s)
        * Creating small files (1): done (0.1s)
        * Creating big files (1): done (0.1s)
        * Creating forum (2 posts): done (0.1s)
        * Course completed (0.9s)
         
        Generated course: http://yourwwwroot/course/view.php?id=X
        
        

      Show
      Quiet mode Run: php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS1 --quiet --size=XS --filesizelimit=1024 --bypasscheck There should be no output. With output: Run: php admin/tool/generator/cli/maketestcourse.php --shortname=GENERATED_XS2 --size=XS --filesizelimit=1024 --bypasscheck There should be output similar to: * Creating course GENERATED_XS2 * Checking user accounts (1) * Enrolling users into course (1): done (0.1s) * Creating assignments (1): .done (0.2s) * Creating pages (1): done (0s) * Creating small files (1): done (0.1s) * Creating big files (1): done (0.1s) * Creating forum (2 posts): done (0.1s) * Course completed (0.9s)   Generated course: http://yourwwwroot/course/view.php?id=X

    Description

      Been using the admin/tool/generator/cli/maketestcourse.php and it is great! Would be nice though if it told you about the course it made instead of having to hunt it down.

      Attachments

        Activity

          People

            bushido Mark Nielsen
            bushido Mark Nielsen
            Adrian Greeve Adrian Greeve
            David Monllaó David Monllaó
            David Monllaó David Monllaó
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              16/Nov/15