You are here

README.txt in Form Mode Control 8.2

Same filename and directory in other branches
  1. 8 README.txt
WHAT FOR ?

Form Mode Control allows you to use the form modes for any bundle / entity, per
role and for edition / modification. Which means using different forms (fields,
order, widgets, etc.) for different roles.

HOW TO USE IT ?

A - DEFAULT FORM MODES

1 - You must at first add form mode for content entities.
Ex. : go to "www.your-site.com/admin/structure/display-modes/form/add" to add a
new form mode.
2 - Activate the form mode for the related bundle of the right entity.
Ex.if we want to activate a form mode named Super 2 (machine name = super_2) for
an article (entity type : Node, Bundle : Article).
Go to www.your-site.com/admin/structure/types/manage/article/form-display and
activate it.
3 - Go to www.your-site.com/admin/people/permissions, a section named Form modes
control was added for all form modes activated (and only activated),
So , configure all permissions and give roles permissions to access form modes.
NB, the permission Access all form modes allow you to access to all form modes
linked to bundle and entity type.
4 -  Then configure on the Form mode control administration page
(www.your-site.com/admin/structure/display-modes/form/config-form-modes) and
give for each role a default form modes for creation / edition (of course, each
role must have access to the form mode).

B - ACCESS DIRECTLY FORM MODES

You can also use it with a simple extra query in the URL
(?display=machine_name_of_the_form_mode) if the role is allowed to see it.
Of course, the user must have the right permission for it.

Ex. : if you want to access to super_2, go to
www.your-site.com/node/add/article?display=super_2.

File

README.txt
View source
  1. WHAT FOR ?
  2. Form Mode Control allows you to use the form modes for any bundle / entity, per
  3. role and for edition / modification. Which means using different forms (fields,
  4. order, widgets, etc.) for different roles.
  5. HOW TO USE IT ?
  6. A - DEFAULT FORM MODES
  7. 1 - You must at first add form mode for content entities.
  8. Ex. : go to "www.your-site.com/admin/structure/display-modes/form/add" to add a
  9. new form mode.
  10. 2 - Activate the form mode for the related bundle of the right entity.
  11. Ex.if we want to activate a form mode named Super 2 (machine name = super_2) for
  12. an article (entity type : Node, Bundle : Article).
  13. Go to www.your-site.com/admin/structure/types/manage/article/form-display and
  14. activate it.
  15. 3 - Go to www.your-site.com/admin/people/permissions, a section named Form modes
  16. control was added for all form modes activated (and only activated),
  17. So , configure all permissions and give roles permissions to access form modes.
  18. NB, the permission Access all form modes allow you to access to all form modes
  19. linked to bundle and entity type.
  20. 4 - Then configure on the Form mode control administration page
  21. (www.your-site.com/admin/structure/display-modes/form/config-form-modes) and
  22. give for each role a default form modes for creation / edition (of course, each
  23. role must have access to the form mode).
  24. B - ACCESS DIRECTLY FORM MODES
  25. You can also use it with a simple extra query in the URL
  26. (?display=machine_name_of_the_form_mode) if the role is allowed to see it.
  27. Of course, the user must have the right permission for it.
  28. Ex. : if you want to access to super_2, go to
  29. www.your-site.com/node/add/article?display=super_2.