Uploaded image for project: 'UI Framework'
  1. UI Framework
  2. UIFR-214

Allow including CSS and JS files not in scripts and styles subdirectory

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.18.0
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      The UiUtils class provides utility methods "includeCss" and "includeJavascript" for including CSS and JavaScript on a page. However, these methods prepend "styles" and "scripts" respectively to the path to the resource, assuming that resource in will be found in the style or scripts directly.

      We'd like to provide a way to not prepend those directories for specific files.

      Our use case: we want to start using the "file" resource type to include scripts and styles from the the file system, and although they may be stored in "scripts" and "styles" directories, these are currently nested within the "configuration" directory.

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: