Entry Configuration
Open /etc/escenic/engine/common/com/escenic/livecenter/EntryConfiguration.properties
for editing and set the following properties as required:
timeFormat
-
This property determines the content and format of the time stamp displayed with each Live Center entry. By default, the property has no value, and the time stamp shows a relative date in the format:
number [minutes|seconds|days] ago
If you don't want this kind of date stamp, you can switch to an absolute date stamp by entering a standard Java date formatting string such as:
timeformat=DD-MM-YYYY HH:mm:ss
whiteListedTags
-
Rich text fields are only allowed to contain a selected subset of HTML elements and attributes. Tags and attributes that do not belong to this whitelisted subset are either converted to
p
elements or removed, as appropriate. This property can be used to modify the set of whitelisted tags. The default setting is:whiteListedTags={ "em": true, \ "br": true, \ "u": true, \ "ol": true, \ "ul": true, \ "li": true, \ "strong": true, \ "b": true, \ "i": true, \ "p": true, \ "h1": true, \ "h2": true, \ "h3": true, \ "h4": true, \ "h5": true, \ "h6": true, \ "strike": true, \ "a": {href: true, target: true, rel: true, class: true, lang: true, title: true}, \ "img": {src: true, alt: true, title: true, class: true, lang: true, translate: true}, \ "blockquote": true }
You can extend this set by adding more elements and/or attributes if you wish. You must not, however, remove any of the default elements or attributes, as they are required by the rich text editor.
latestEmbedCollapsed
-
When social media items such as tweets are added to an event, they are expanded by default. If you would prefer them to be collapsed when added, set this value to
true
:latestEmbedCollapsed=true
The default value is
false
.