You are here

README.txt in Outdated Browser 8

Same filename and directory in other branches
  1. 7 README.txt
Outdated Browser module
------------------------------

DESCRIPTION
-----------

This module integrates the Outdated Browser library [1] in Drupal. It detects
outdated browsers and advises users to upgrade to a new version - in a very
pretty looking way.

The library ships with various languages. Its look and feel is configurable,
and the targeting browser can be configured either specifying a CSS property or
an Internet Explorer version.

More info at: http://outdatedbrowser.com


INSTALLATION
------------
1. Install as you would normally install a contributed drupal module. See:
   https://www.drupal.org/documentation/install/modules-themes/modules-8
   for further information.
2. Download the Outdated browser plugin from
   https://github.com/burocratik/outdated-browser with and extract the file
   under "libraries".
3. Ensure, that the js and css files, as well as the "lang" subdirectory are
   found within the following path:
   libraries/outdated-browser/outdatedbrowser/

INSTALLATION VIA COMPOSER
---------------------------
  It is assumed you are installing Drupal through Composer using the Drupal
  Composer facade. See https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies#drupal-packagist

  The Outdated Browser JavaScript library does not support composer so manual
  steps are required in order to install it through this method.

  First, copy the repositories snippet from the composer.json file in this
  module into your project's composer.json file.

  Next, the following snippet must be added into your project's composer.json
  file so the javascript library is installed into the correct location:

  "extra": {
      "installer-paths": {
          "libraries/{$name}": ["type:drupal-library"]
      }
  }

  If there are already 'repositories' and/or 'extra' entries in the
  composer.json, merge these new entries with the already existing entries.

    After that, run:

    $ composer require burocratik/outdated-browser
    $ composer require drupal/outdatedbrowser

    The first uses the manual entries you made to install the JavaScript
    library, the second adds the Drupal module.

    Note: the requirement on the library is not in the module's composer.json
    because that would cause problems with automated testing.

  You should also use a composer script to remove the demo files in the library
  after composer install runs.
  See https://getcomposer.org/doc/articles/scripts.md

LIBRARIES API
-------------
Libraries API support has been removed from D8 version [2].

IE8 AND BELOW
-------------
Drupal 8 does not not support IE 8 and below anymore [3]. As a result of this,
a standard D8 installation will lead to Javascript errors on IE8 and below.
Being a JS-based solution, Outdated Browser won't be executed and shown at all.
So if you don't want to put some extra effort into making D8 running on IE8,
you'll need to rely on conditional comments instead. However, Outdated Browser
is still a good choice for excluding other browser, e.g. IE9 or based on a
certain CSS feature that your site needs to work correctly.

CREDITS
-------

The Outdated Browser module was originally developed and is currently
maintained by Mag. Andreas Mayr [4].

All initial development was sponsored by agoraDesign KG [5].


CONTACT
------------------------------------------------------------------------------

The best way to contact the authors is to submit an issue, be it a support
request, a feature request or a bug report, in the project issue queue:
  https://www.drupal.org/project/issues/outdatedbrowser


References
------------------------------------------------------------------------------
1: https://github.com/burocratik/outdated-browser
2: http://www.agoradesign.at/blog/3rd-party-library-integration-drupal-8
3: https://www.drupal.org/node/1569578
4: https://www.drupal.org/u/agoradesign
5: http://www.agoradesign.at

File

README.txt
View source
  1. Outdated Browser module
  2. ------------------------------
  3. DESCRIPTION
  4. -----------
  5. This module integrates the Outdated Browser library [1] in Drupal. It detects
  6. outdated browsers and advises users to upgrade to a new version - in a very
  7. pretty looking way.
  8. The library ships with various languages. Its look and feel is configurable,
  9. and the targeting browser can be configured either specifying a CSS property or
  10. an Internet Explorer version.
  11. More info at: http://outdatedbrowser.com
  12. INSTALLATION
  13. ------------
  14. 1. Install as you would normally install a contributed drupal module. See:
  15. https://www.drupal.org/documentation/install/modules-themes/modules-8
  16. for further information.
  17. 2. Download the Outdated browser plugin from
  18. https://github.com/burocratik/outdated-browser with and extract the file
  19. under "libraries".
  20. 3. Ensure, that the js and css files, as well as the "lang" subdirectory are
  21. found within the following path:
  22. libraries/outdated-browser/outdatedbrowser/
  23. INSTALLATION VIA COMPOSER
  24. ---------------------------
  25. It is assumed you are installing Drupal through Composer using the Drupal
  26. Composer facade. See https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies#drupal-packagist
  27. The Outdated Browser JavaScript library does not support composer so manual
  28. steps are required in order to install it through this method.
  29. First, copy the repositories snippet from the composer.json file in this
  30. module into your project's composer.json file.
  31. Next, the following snippet must be added into your project's composer.json
  32. file so the javascript library is installed into the correct location:
  33. "extra": {
  34. "installer-paths": {
  35. "libraries/{$name}": ["type:drupal-library"]
  36. }
  37. }
  38. If there are already 'repositories' and/or 'extra' entries in the
  39. composer.json, merge these new entries with the already existing entries.
  40. After that, run:
  41. $ composer require burocratik/outdated-browser
  42. $ composer require drupal/outdatedbrowser
  43. The first uses the manual entries you made to install the JavaScript
  44. library, the second adds the Drupal module.
  45. Note: the requirement on the library is not in the module's composer.json
  46. because that would cause problems with automated testing.
  47. You should also use a composer script to remove the demo files in the library
  48. after composer install runs.
  49. See https://getcomposer.org/doc/articles/scripts.md
  50. LIBRARIES API
  51. -------------
  52. Libraries API support has been removed from D8 version [2].
  53. IE8 AND BELOW
  54. -------------
  55. Drupal 8 does not not support IE 8 and below anymore [3]. As a result of this,
  56. a standard D8 installation will lead to Javascript errors on IE8 and below.
  57. Being a JS-based solution, Outdated Browser won't be executed and shown at all.
  58. So if you don't want to put some extra effort into making D8 running on IE8,
  59. you'll need to rely on conditional comments instead. However, Outdated Browser
  60. is still a good choice for excluding other browser, e.g. IE9 or based on a
  61. certain CSS feature that your site needs to work correctly.
  62. CREDITS
  63. -------
  64. The Outdated Browser module was originally developed and is currently
  65. maintained by Mag. Andreas Mayr [4].
  66. All initial development was sponsored by agoraDesign KG [5].
  67. CONTACT
  68. ------------------------------------------------------------------------------
  69. The best way to contact the authors is to submit an issue, be it a support
  70. request, a feature request or a bug report, in the project issue queue:
  71. https://www.drupal.org/project/issues/outdatedbrowser
  72. References
  73. ------------------------------------------------------------------------------
  74. 1: https://github.com/burocratik/outdated-browser
  75. 2: http://www.agoradesign.at/blog/3rd-party-library-integration-drupal-8
  76. 3: https://www.drupal.org/node/1569578
  77. 4: https://www.drupal.org/u/agoradesign
  78. 5: http://www.agoradesign.at