Skip to content
Laryn edited this page Jul 25, 2026 · 1 revision

Welcome to the Legal wiki!

CONFIGURATION:

There are two ways to set permissions:

  1. 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".
  2. 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:

  1. Go to Administer > Modules > Other > Legal, under the "Operations" column click the "Configure" link Input your terms & conditions text.
  2. 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 CONFIGURATION

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 on Facebook User Settings. Click on "Do not create accounts Automatically". Then, when user DOES create account, it runs them through the Legal agreement.

VARNISH CACHE

Some users have reported that when a user who hasn't accepted the latest version of the legal terms attempts to login, they are logged out with the message 'Operation timed out. Please try to log in again.'

To fix this please add the following to your default.vcl file:

sub vcl_recv {
 if (req.url ~ "^/legal_accept") {
 return (pipe);
 }
}

Clone this wiki locally