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

add custom frontpage script support

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2
    • Fix Version/s: 2.1.1
    • Component/s: General
    • Labels:
      None
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w26_MDL-28163_m22_customfront

      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

            Assignee:
            skodak Petr Skoda
            Reporter:
            skodak Petr Skoda
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Aug/11