Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-30712

More Sites: add more flexibility for new site types via sakai.properties

    Details

    • 11 status:
      Resolved
    • Property addition/change required:
      Yes

      Description

      Currently, More Sites tab classifies the sites by their site type and course term if there is one, but this has several issues.

      -New site types can't be classified apart without hardcoding them.
      -New course-like site types or project-like site types can't be isolated from courses/projects.

      Our proposal is two optional properties in sakai.properties. One (moresites.externalConfig.siteTypes) with the list of site types and other (moresites.externalConfig.prefix) with the prefix to use in the properties files, so every site type in the list can be classified in More Sites tab by its internationalized property key.

      For example, for setting two new site types (courseAsig is a new course type and course 2 is a new site type), sakai.properties would have this:

      moresites.externalConfig.siteTypes=course_asig,course_2
      moresites.externalConfig.prefix=moresites_

      And the properties "moresites_course_asig" and "moresites_course_2" would be used for the i18n texts in sitenav.properties.

      If moresites.externalConfig.siteTypes is not set or is empty, the usual logic is applied.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                daniel.merino Daniel Merino Echeverría
                Reporter:
                daniel.merino Daniel Merino Echeverría
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code