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

Allow course formats to own database tables and stylesheets

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8
    • Component/s: Administration, Backup, Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE

      Description

      Advanced course formats may need their own data and styles. It would be desirable if Moodle can:

      1) Support install.xml within a 'db' folder inside course format.

      2) Support backup for this data (probably with backuplib/restorelib similar to modules, in course format folder)

      3) Support stylesheets via styles.php in course format folder (as for modules)

      I intend to implement this at some time over the next few weeks.

      Martin comments about the styles one: 'You just need to modify the style_sheet_setup() function that searches for all these to make sure it also looks in the course/format/xx directories (with a $THEME->coursesheets to control it, documented in theme/standard/config.php).'

        Attachments

          Activity

            People

            • Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Mar/07