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

add custom frontpage script support

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1, 2.2
    • 2.1.1
    • General
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • w26_MDL-28163_m22_customfront
    • Hide

      1/ make sure standard frontpage works as before
      2/ create a file that prints something
      3/ set $CFG->customfrontpageinclude to your script path and verify it if printed on the frontpage

      Show
      1/ make sure standard frontpage works as before 2/ create a file that prints something 3/ set $CFG->customfrontpageinclude to your script path and verify it if printed on the frontpage

    Description

      Moodle.org uses this hack to show different frontpage, I might be better to include in in standard distro too.

      Solution is to add $CFG->customfrontpageinclude = "/local/moodle/local/cusotmsite/frontpage.php";

      Attachments

        Activity

          People

            skodak Petr Skoda
            skodak Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Aug/11