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

Glyphicons are not loaded on a subwiki using a custom skin based on Flamingo and stored in the main wiki

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      It actually happens only on farms configured without the "path mode" option.

      The issue is that the icons of the top menu are not displayed well, because the glyphicon font URL is relative to the main wiki URL, not the current wiki URL, and for some reason, the browser forbid this cross-site loading.

      Steps to reproduce:

      1. set xwiki.virtual.usepath=0 in xwiki.cfg
      2. on the main wiki: customize XWiki.DefaultSkin:
        • on the field style.css, paste the content of the file style.css that is inside the skins/flamingo folder.
      3. Go to a subwiki
      4. Change the skin to: xwiki:XWiki.DefaultSkin
      5. Refresh your browser cache

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: