Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-16225

Some bundled themes don't support web resource injection

    XMLWordPrintable

Details

    Description

      There is a web-resource plugin type for Confluence that allows you to have a resource included on every html page or only in certain contexts. This only seems to be working for the default theme. All other bundled themes are not honoring this plugin type.

      For example, the office connector has the following xml snippet specified in its atlassian-plugin.xml:

      <web-resource key="editinoffice" name="Edit in Office javascript resource" >
           <resource type="download" name="editInOffice.js" location="templates/extra/editinword/editInOffice.js" />
           <context>page</context>
           <dependency>confluence.web.resources:jquery</dependency>
           <dependency>confluence.web.resources:ajs</dependency>
       </web-resource>
      

      This tells confluence to include the editInOffice.js file when a user is viewing a Confluence page. This works for the default theme but not for Clickr and the Left Navigation theme.

      Attachments

        Issue Links

          Activity

            People

              akazatchkov Anatoli
              rackley RyanA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: