You are here

README.txt in Allow a content type only once (Only One) 8

Same filename in this branch
  1. 8 README.txt
  2. 8 modules/onlyone_admin_toolbar/README.txt
Same filename and directory in other branches
  1. 7 README.txt
CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Recommended modules
 * Installation
 * Configuration
 * Maintainers


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

The Allow a content type only once (Only One) module allows the creation of
Only One content per language in the selected content types for this
configuration.

 * For a full description of the module, visit the project page:
   https://www.drupal.org/project/onlyone

 * To submit bug reports and feature suggestions, or to track changes:
   https://www.drupal.org/project/issues/search/onlyone


REQUIREMENTS
------------

No special requirements.


RECOMMENDED MODULES
-------------------

 * Drush Help (https://www.drupal.org/project/drush_help):
   Improves the module help page showing information about the module drush
   commands.


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

 * Install as you would normally install a contributed Drupal module.
   See: https://www.drupal.org/docs/8/extending-drupal-8/installing-modules
   for further information.


CONFIGURATION
-------------

 * Configure the content types in Administration » Configuration »
   Content authoring » Only One:

   - In the 'Available content types for Only One' section check the content
     types that should have Only One content per language. For this you need the
     'Administer Only One' permission.

 * Configure the module settings in Administration » Configuration »
   Content authoring » Only One » Settings:

   - If you want to have the configured content types in a new menu entry named
     'Add content (Only One)' you must check the option 'Show configured content
     types in a new menu entry', the new menu link will be available in 
     Administration » Content, as an action link to the 'Add content (Only One)'
     then the 'Add content' menu link will show the not configured content
     types. For this you need the 'Administer Only One' permission.

 * Creating content:

   - Once you try to Add content in Administration » Content if the chosen
     content type is configured to have Only One content and it already has one
     content created in the actual language, you will be redirected to edit the
     content, otherwise, you will go to create a new one.

 * Drush commands

   - drush onlyone-list

     Shows a content types list according to the selected status.

   - drush onlyone-enable

     Enables the 'Only One content' mode on content types.

   - drush onlyone-disable

     Disables the 'Only One content' mode on content types.

   - drush onlyone-new-menu-entry

     Configures if the configured content types will be shown in a new menu 
     entry.

MAINTAINERS
-----------

Current maintainers:
 * Adrian Cid Almaguer (adriancid) - https://www.drupal.org/u/adriancid
 * Pierre Vriens (Pierre.Vriens) - https://www.drupal.org/u/pierrevriens
 * Jorge Diaz (jorgediazhav) - https://www.drupal.org/u/jorgediazhav

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Recommended modules
  6. * Installation
  7. * Configuration
  8. * Maintainers
  9. INTRODUCTION
  10. ------------
  11. The Allow a content type only once (Only One) module allows the creation of
  12. Only One content per language in the selected content types for this
  13. configuration.
  14. * For a full description of the module, visit the project page:
  15. https://www.drupal.org/project/onlyone
  16. * To submit bug reports and feature suggestions, or to track changes:
  17. https://www.drupal.org/project/issues/search/onlyone
  18. REQUIREMENTS
  19. ------------
  20. No special requirements.
  21. RECOMMENDED MODULES
  22. -------------------
  23. * Drush Help (https://www.drupal.org/project/drush_help):
  24. Improves the module help page showing information about the module drush
  25. commands.
  26. INSTALLATION
  27. ------------
  28. * Install as you would normally install a contributed Drupal module.
  29. See: https://www.drupal.org/docs/8/extending-drupal-8/installing-modules
  30. for further information.
  31. CONFIGURATION
  32. -------------
  33. * Configure the content types in Administration » Configuration »
  34. Content authoring » Only One:
  35. - In the 'Available content types for Only One' section check the content
  36. types that should have Only One content per language. For this you need the
  37. 'Administer Only One' permission.
  38. * Configure the module settings in Administration » Configuration »
  39. Content authoring » Only One » Settings:
  40. - If you want to have the configured content types in a new menu entry named
  41. 'Add content (Only One)' you must check the option 'Show configured content
  42. types in a new menu entry', the new menu link will be available in
  43. Administration » Content, as an action link to the 'Add content (Only One)'
  44. then the 'Add content' menu link will show the not configured content
  45. types. For this you need the 'Administer Only One' permission.
  46. * Creating content:
  47. - Once you try to Add content in Administration » Content if the chosen
  48. content type is configured to have Only One content and it already has one
  49. content created in the actual language, you will be redirected to edit the
  50. content, otherwise, you will go to create a new one.
  51. * Drush commands
  52. - drush onlyone-list
  53. Shows a content types list according to the selected status.
  54. - drush onlyone-enable
  55. Enables the 'Only One content' mode on content types.
  56. - drush onlyone-disable
  57. Disables the 'Only One content' mode on content types.
  58. - drush onlyone-new-menu-entry
  59. Configures if the configured content types will be shown in a new menu
  60. entry.
  61. MAINTAINERS
  62. -----------
  63. Current maintainers:
  64. * Adrian Cid Almaguer (adriancid) - https://www.drupal.org/u/adriancid
  65. * Pierre Vriens (Pierre.Vriens) - https://www.drupal.org/u/pierrevriens
  66. * Jorge Diaz (jorgediazhav) - https://www.drupal.org/u/jorgediazhav