Last updated September 5, 2013. Created by dtrack on October 28, 2011.
Edited by scflmark, csheriff, Bowevil, Robert Castelo. Log in to edit this page.
This module displays your Terms & Conditions to users who want to register, and makes sure they accept the T&C before their registration is accepted.
Note: No T&C will be displayed until the T&C text has been input by the administrator.
Each time a new version of the T&C is created all users will be required to accept the new version.
Note: T&C text should only be entered by administrators or other highly trusted users. filter_xss_admin() is used to filter content for display, this is a very permissive XSS/HTML filter intended for admin-only use.
Integrates with Views, and ships with 2 default views that display T&C history, and user acceptance of T&Cs.
To install:
Note: It is assumed that you have Drupal up and running. Be sure to check the Drupal web site if you need assistance. If you run into problems, you should always read the INSTALL.txt that comes with the Drupal package and read the online documentation.
Dependencies: checkbox_validate Module for Drupal 6
To install using Drupal 6:
- Place the entire legal directory into your Drupal modules/directory.
- Enable the legal module by navigating to:
Administer > Site building > Modules
Click the 'Save configuration' button at the bottom to commit your changes.
To configure using Drupal 6:
- Go to Administer > User management > Access control
Set which roles can "View Terms and Conditions".
Set which roles can "Administer Terms and Conditions". - Go to Administer > Site configuration > Legal
Input your terms & conditions text.
Set how you would like it displayed:
- Scroll Box - Standard form text box (read only). Text is entered and displayed as text only.
- Scroll Box (CSS) - Scrollable text box created in CSS. Text should be entered with HTML formatting. (less accessible than a standard scroll box)
- HTML Text - Terms & conditions displayed as HTML formatted text. Text should be entered with HTML formatting.
- Page Link
Note: When displayed on the page at /legal, your T&Cs will be automatically reformatted to HTML Text if entered as a Scroll Box or Scroll Box (CSS).
To install using Drupal 7:
- Place the entire legal directory into your Drupal modules/directory.
- Enable the Legal module by navigating to: Administer > Modules > Other > Legal
Click the 'Save configuration' button at the bottom to commit your changes.
To configure using Drupal 7:
There are two ways to set permissions:
- Go to Administer > Modules > Other > Legal, under the "Operations" column click the "Permissions" link
Set which roles can "View Terms and Conditions".
Set which roles can "Administer Terms and Conditions". - Go to Administer > People > Permissions
Set which roles can "View Terms and Conditions".
Set which roles can "Administer Terms and Conditions".
Click the 'Save permissions' button at the bottom to commit your changes.
There are two ways to configure the Legal module:
- Go to Administer > Modules > Other > Legal, under the "Operations" column click the "Configure" link
Input your terms & conditions text. - Go to Administer > People > Legal
Input your terms & conditions text.
Set how you would like it displayed:
- Scroll Box - Standard form text box (read only). Text is entered and displayed as text only.
- Scroll Box (CSS) - Scrollable text box created in CSS. Text should be entered with HTML formatting. (less accessible than a standard scroll box)
- HTML Text - Terms & conditions displayed as HTML formatted text. Text should be entered with HTML formatting.
- Page Link
Note: When displayed on the page at /legal, your T&Cs will be automatically reformatted to HTML Text if entered as a Scroll Box or Scroll Box (CSS).
Click the 'Save' button at the bottom to commit your changes.
Additional configurations using Drupal 7:
ADDITIONAL CHECKBOXES
Each field that contains text will be shown as a checkbox which the user must tick to register. For example, if you enter "I am at least 18 years of age" in the text area, this will display as an additional checkbox, which must be ticked in order to proceed.
EXPLAIN CHANGES
Explain what changes were made to the T&C since the last version. This will only be shown to users who accepted a previous version (authenticated users). Each line will automatically be shown as a bullet point.
FACEBOOK CONNECT
In facebook applications, click edit, click Facebook User Settings. Click "Do not create accounts Automatically". Then, when user DOES create account, it runs them through the Legal agreement.
Attachment | Size |
---|---|
![]() | 18.47 KB |
![]() | 17.91 KB |
![]() | 17.15 KB |
![]() | 20.55 KB |
![]() | 29.64 KB |
![]() | 29.88 KB |
![]() | 29.88 KB |
Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.
Comments
legal field for anonymous comments
Is it possible to add legal as a manditory field before an anonymous commenter can post? If so please help me!