Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11394

Being able to overwrite a LESS file within a skin document

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 7.0-rc-1
    • Component/s: LESS, Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Currently, the LESS module only handle files on the FS, without looking at the current Skin object if a file has been overwritten.

      It could be done by creating a temp directory in which we copy the overwritten files and that we pass to the LESS compiler as an "include path".

      Since the LESS file are inside a folder inside the skin directory, we should also find a way to handle, in the skin object, the templates located in the subdirectory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdelhumeau Guillaume Delhumeau
                Reporter:
                gdelhumeau Guillaume Delhumeau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: