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

Add File Picker to Admin settings in Themes

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Testing difficulty (hard)

      Note for tester - this patch was integrated without the changes to the after burner theme (it will be used by the simple theme only).

      Before testing you must cherry-pick one extra commit from Petrs branch in order to install the required changes to afterburner:

      git fetch git://github.com/skodak/moodle.git w15_MDL-35434_m25_storedfilesetting
      git cherry-pick cf32a715cca877c7580c5e4a4352e2cd7499a7e1

      Alternatively use the Simple theme, if visible in the Theme selector at the Testing stage.

      1. Select Afterburner theme from Theme selector and NOT by URL (this is important).
      2. Enable Theme Designer Mode in Theme settings.
      3. Navigate to Site Administration > Appearance > Themes > and locate the Afterburner custom settings page from the list of theme names listed.
      4. TEST the new file-picker setting by uploading the small Moodle logo from the formal_white theme found at theme/formal_white/pix/logo_small.png
      5. Save settings and refresh the page or navigate to Home page.
      6. TEST that the Moodle logo has replaced the Afterburner logo.
      7. End test.
      Show
      Testing difficulty (hard) Note for tester - this patch was integrated without the changes to the after burner theme (it will be used by the simple theme only). Before testing you must cherry-pick one extra commit from Petrs branch in order to install the required changes to afterburner: git fetch git://github.com/skodak/moodle.git w15_ MDL-35434 _m25_storedfilesetting git cherry-pick cf32a715cca877c7580c5e4a4352e2cd7499a7e1 Alternatively use the Simple theme, if visible in the Theme selector at the Testing stage. Select Afterburner theme from Theme selector and NOT by URL (this is important). Enable Theme Designer Mode in Theme settings. Navigate to Site Administration > Appearance > Themes > and locate the Afterburner custom settings page from the list of theme names listed. TEST the new file-picker setting by uploading the small Moodle logo from the formal_white theme found at theme/formal_white/pix/logo_small.png Save settings and refresh the page or navigate to Home page. TEST that the Moodle logo has replaced the Afterburner logo. End test.
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w15_MDL-35434_m25_storedfilesetting

      Description

      Most Moodle themes have settings pages, mainly to add a logo or CSS in order to customise the theme to give it a corporate look.

      However, the absence of a File Picker makes the job of adding a logo, or background image, harder as the image needs to be stored somewhere prior to obtaining the URL so that it can be added to the settings page.

      Having a File Picker would simplify this task and make for better theme customisation.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                41 Vote for this issue
                Watchers:
                32 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13