Deploy germain JS scripts for Drupal app

Download

  • Download the JS script from germainAPM → Wizards → Drupal

Deploy germain APM JS scripts into Drupal v7.x

  • Find the name of your active Drupal theme (e.g. it is available in Drupal Admin UI / Appearance / "default theme")

  • Browse your Drupal source files (e.g. using your FTP client)

  • Upload germain APM JavaScript files to the JavaScript folder in your active theme (location: DRUPAL_ROOT/themes/THEME_NAME/js)

    • Create js folder if it does not exist

  • Edit THEME_NAME.info file (location: DRUPAL_ROOT/themes/THEME_NAME)

    • Append the following code at the end of the file and save it:

1 scripts[] = js/germainapm.js
  • Clear Drupal cache (Drupal Admin UI / Configuration / Performance / "clear cache")

Deploy germain APM JS scripts into Drupal v8.x

  • Find the name of your active Drupal theme (e.g. it is available in Drupal Admin UI / Appearance / "default theme")

  • Browse your Drupal source files (e.g. using your FTP client)

  • Upload germain APM JavaScript files to the JavaScript folder in your active theme (location: DRUPAL_ROOT/themes/THEME_NAME/js)

    • Create js folder if it does not exist

  • Edit THEME_NAME.libraries.yml file (location: DRUPAL_ROOT/themes/THEME_NAME)

    • Append the following code at the end of the file and save it:

1 2 3 4 germain-apm:    header: true    js:       js/germainapm.js: {}
  • Edit THEME_NAME.info.yml file (location: DRUPAL_ROOT/themes/THEME_NAME)

    • Append the following line under "libraries:" and save it:

1 - THEME_NAME/germain-apm
  • Clear Drupal cache (Drupal Admin UI / Configuration / Development / Performance / "clear cache")

Important requirements

  • germain APM is available for websites using Drupal v7.0.0 or higher

  • germain APM is supported on the following browsers: Google Chrome 13+, Microsoft Internet Explorer 9+, Mozilla Firefox 7+, Opera 15+ & Safari 5.1

  • JavaScript and cookies must be enabled to run germain APM in your browser

  • HTTP/HTTPS outbound traffic must be allowed from your browser(s) to the germain APM environment