This element contains the configuration information for a single license of EditLive!.

Attributes within this element should be entered as per the license file provided by Tiny. If the configuration information provided by the attributes does not correspond to a valid license provided by Tiny then EditLive! will only run in 30 day trial mode.

Configuration Element Tree Structure

<editLive>
<ephoxLicenses>
<license>

<editLive>
    ...
    <ephoxLicenses>
        <license ... />
    </ephoxLicenses>
    ...
</editLive>

Required Attributes

domain

This attribute provides the domain to which this copy of EditLive! is licensed.

expiration

This attribute provides the expiration date of the license.

key

This attribute provides the product key for this license of EditLive!.

licensee

This attribute provides the company or organization to which this copy of EditLive! is licensed.

product

This attribute details the Tiny product which can be used with this license.

release

This attribute details the release number of the Tiny product which can be used with this license.

seats

This attribute details the number of seats that this license is valid for.

Optional Attributes

accountID

This attribute details your Tiny account ID.

activationURL

This attribute configures the URL that EditLive! should use to check its license. If left blank the default value will be used.

Default Value: http://www.ephox.com/activate/eljf10.asp

eqEditor

When set to true this attribute allow the Tiny Equation Editor to be used with the instance of EditLive!. This attribute is a boolean and can only be true or false.

Default Value: false

forceActive

When set to true, this attribute will force licenses to become active instead of requesting the user to activate the license. If left blank the default value will be used. This attribute is a boolean and can only be true or false.

Default Value: true

type

This attribute specifies the type of license provided. Some license types might be time limited. If left blank the default value will be used. This attribute has the possible values of production, development or QA.

Default Value: production

Example

This example demonstrates how to use the <license> element to input licensing information into EditLive!.

<editLive>
    ...
    <ephoxLicenses>
        <license accountID="1234" 
          activationURL="http://www.ephox.com/elregister/el2/activate.asp" 
          domain="demo.com" expiration="NEVER" forceActive="false" 
          key="4545-5465-2456-5648" licensee="Someone" 
          product="EditLive! for Java" release="2.0" seats="100" 
          type="production" />
    </ephoxLicenses>
    ...
</editLive> 

Remarks

The <license> element can appear multiple times within the <ephoxLicenses> element.

The <license> element must be a complete tag; it cannot contain a tag body. Therefore, the tag must be closed in the same line. See the example below:

<license accountID=... />