Uploaded image for project: 'Forrest'
  1. Forrest
  2. FOR-898

New tag into skinconf.dtd (google-id)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: 0.7
    • Fix Version/s: None
    • Component/s: Skins (general issues)
    • Labels:
      None
    • Urgency:
      Low

      Description

      Adding Google Analytics support for your skin currently requires modification of site2xhtml.xsl. For example in main/webapp/skins/pelt/xslt/html.

      You need to add Google-provided JS scripts into lines just before /body (around line 363). These JS's include site-specific tracking id, which should be placed in skinconf.xml (or site.xml?) instead - if you want to use your skin to generate other sites too.

      Adding arbitrary googleid-node in skinconf.xml however results in invalid xml and projects forrest.properties-file is not visible during xslt processing (is it not?). My suggestion would be to add googleid-node into the skinconfig.dtd.

        Attachments

          Activity

            People

            • Assignee:
              rgardler Ross Gardler
              Reporter:
              kristo Kristo Helasvuo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: