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

Use $xwiki.getSkinFile instead of explicit /xwiki path when loading css images in Main.SolrSearch

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 6.0-milestone-1, 5.4.3
    • 6.0-milestone-1
    • Search - Solr
    • None
    • Trivial
    • N/A
    • N/A

    Description

      In the StyleSheetExtension object of the Main.SolrSearch page a few icons are referenced like:

       background: transparent url("/xwiki/resources/icons/xwiki/search.png") left center no-repeat;
      

      If possible, it would be better to reference the icons via $xwiki.getSkinFile('icons/xwiki/search.png') in case XWiki is not deployed as /xwiki

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            camil7 Clemens Robbenhaar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: