You are here

README.txt in Viewport 8

Same filename and directory in other branches
  1. 7 README.txt
CONTENTS OF THIS FILE
---------------------

 * INTRODUCTION
 * INSTALLATION
 * USAGE


INTRODUCTION
------------

Current Maintainer: Salvador Molina <salvador.molinamoreno@codeenigma.com>

The Viewport module is a simple module that allows administrators, or users
with the "Administer Viewport Settings" permission, to set a Viewport HTML
metatag with the desired properties for one or several pages that can be
configured from the Settings page of the module.

The aim of the module is to provide an easy way to debug or test websites or
apps, as well as responsive designs on smartphones and tablets.

Sometimes, one may need to set specific viewport values for a specific page on
the site (e.g when embedding a game for smartphones / tablets). This tool
helps to solve easily situations like that.

INSTALLATION
------------

To install the Viewport module:

 1. Place its entire folder into the "modules" folder of your
    drupal installation.

 2. In your Drupal site, navigate to "admin/modules", search the "Viewport"
    module, and enable it by clicking on the checkbox located next to it.

 3. Click on "Save configuration".

 4. Enjoy.

USAGE
-----

After installing the module:

  1. Navigate to "admin/people/permissions" and assign
     the "Administer Viewport Settings" permission to the desired roles.

  2. Navigate to "admin/appearance/settings/viewport", and set the desired
     values for the different viewport properties.

  3. In the textarea provided, enter the paths (one per line) for which you
     want the viewport tag to appear. Note in Drupal 8 paths are preceded by a
     forward slash "/".

  4. For more information on the Viewport properties and their meanings,
     navigate to "admin/help/viewport".

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * INTRODUCTION
  4. * INSTALLATION
  5. * USAGE
  6. INTRODUCTION
  7. ------------
  8. Current Maintainer: Salvador Molina
  9. The Viewport module is a simple module that allows administrators, or users
  10. with the "Administer Viewport Settings" permission, to set a Viewport HTML
  11. metatag with the desired properties for one or several pages that can be
  12. configured from the Settings page of the module.
  13. The aim of the module is to provide an easy way to debug or test websites or
  14. apps, as well as responsive designs on smartphones and tablets.
  15. Sometimes, one may need to set specific viewport values for a specific page on
  16. the site (e.g when embedding a game for smartphones / tablets). This tool
  17. helps to solve easily situations like that.
  18. INSTALLATION
  19. ------------
  20. To install the Viewport module:
  21. 1. Place its entire folder into the "modules" folder of your
  22. drupal installation.
  23. 2. In your Drupal site, navigate to "admin/modules", search the "Viewport"
  24. module, and enable it by clicking on the checkbox located next to it.
  25. 3. Click on "Save configuration".
  26. 4. Enjoy.
  27. USAGE
  28. -----
  29. After installing the module:
  30. 1. Navigate to "admin/people/permissions" and assign
  31. the "Administer Viewport Settings" permission to the desired roles.
  32. 2. Navigate to "admin/appearance/settings/viewport", and set the desired
  33. values for the different viewport properties.
  34. 3. In the textarea provided, enter the paths (one per line) for which you
  35. want the viewport tag to appear. Note in Drupal 8 paths are preceded by a
  36. forward slash "/".
  37. 4. For more information on the Viewport properties and their meanings,
  38. navigate to "admin/help/viewport".