Configuring the Sample Storyline Element Field Editors
The Content Engine 6.8 distribution incorporates two sample storyline element types that make use of storyline field editors:
-
map
, a storyline element type for maps, plus a supporting web component calledgoogle-map
. -
table
, a storyline element type for editing tables, plus a supporting web component calleddata-visualization
.
You will find the storyline element definitions and the supporting
web components in the
Content Engine's
contrib
folder. The storyline element definitions
are in the
contrib/starter-pack/storyline-element-types
folder and the web components are in the are in the
contrib/starter-pack/story-element-web-components
folder.
To make use of these storyline element types, in your publications you need to:
-
Upload to the Content Engine:
-
The storyline element types
-
A storyline template that contains references to the new storyline element types (for example, the sample template
contrib/starter-pack/storyline-templates/blank.xml
)
For a description of how to do this, see Manage Shared Resources.
-
-
Upload the web components to a web location that is accessible to CUE.
-
Add a configuration file to your CUE config folder (
/etc/escenic/cue-web-2.9/
) containing the following definitions:customComponents: - name: "google-map" modulePath: "http://your-server-location/google-map/google-map.js" - name: "data-visualization" modulePath: "http://your-server-location/data-visualization/data-visualization.js"
where your-server-location is the location to which you uploaded the web components.