Project

General

Profile

About Text License

Text License (textlicense) is a module for the Drupal CMS. This document outlines the module's features:

Features

Feature highlights:

  • Support for several text licenses. Adding new licenses is rather easy.
  • Automatic (using default licenses) or manual (overridden by content author) license assignment.
  • Administrators can define the set of the allowed licenses on a per content type basis.
  • Flexible permission scheme.

Settings on the central administration page

These can be edited by users with the administer textlicense permission and, of course, administer content types.

  • Set a site-wide default license. This license is used if a license has not been set by other means. If the settings have not been saved, All Rights Reserved is used. (v0.1.0)
  • Set a minimum number of words a node may contain in order license information to be displayed. (v0.1.0)
  • Set the relative path to a page containing additional terms and conditions. (v0.1.0)
  • If there is an image associated with the license, show it or not. (v0.1.0)
  • Define the position of the license information in the rendered node. (v0.1.0)

Settings on each content-type editing form

These can be edited by users with the administer textlicense permission and, of course, administer content types.

  • Enable/disable the license feature for the content type that is being edited. (v0.1.0)
  • Select which of the licenses will be available for the current content type. (v0.1.0)
  • Select the default license for the current content type. If this is set to use global default, then the site-wide default license is used. (v0.1.0)

Settings on the content authoring form

By default, the content-type's default license is used. If the user has the modify textlicense permission then:

  • the user can override the default license and use any of the licenses that are available for the current content type. (v0.1.0)
  • the user can force the display of the license information, even if the content does not comply with the minimum word-count requirements. (v0.1.0)

Role Permissions

The textlicense module adds the following permissions:

  • access textlicense* : Users with the 'access textlicense' permission can see the node's license information in the web pages and feeds.
  • modify textlicense* : Users with the 'modify textlicense' permission can override the default license, which has been set by an administrator, in the node editing form with a license of their choice. Note that overriding a license in the node-editing form is only possible for those node types for which the textlicense feature has been enabled.
  • administer textlicense* : Users with the 'access textlicense' permission can set a default license for all content that is published and also control several license specific options.nformation in the web pages and feeds.