Content Creation Shortcuts

You can make custom shortcuts for creating new content items of specific types by adding a quickCreateShortcuts entry to one of the configuration files in /etc/escenic/cue-web/. The quickCreateShortcuts must contain an array of definitions, each one defining the shortcut(s) for creating a different type of content item. For example:

quickCreateShortcuts:
  - name: "Regular Story"
    keystroke: "r"
    quickCombo: ["ctrl+alt+r"]
    contentType: "regular-news-story"

  - name: "Developing Story"
    keystroke: "d"
    quickCombo: ['ctrl+alt+d']
    contentType: "developing-story"

  - name: "Classic Story"
    keystroke: "c"
    quickCombo: ['ctrl+alt+c']
    contentType: "story"

  - name: "Picture"
    keystroke: "p"
    quickCombo: ['ctrl+alt+p']
    contentType: "picture"

The primary purpose of this configuration is to create custom semantic shortcuts for content creation. Once you have created at least one such shortcut, then the existing Shift Shift C (Create) semantic shortcut will, instead of immediately displaying the Create new dialog, display the semantic shortcuts you have created, plus an N ...other content types option that displays the Create new dialog:

graphics/semantic-dialog.png

Selecting any of the custom shortcuts creates the new content item immediately.

You can, however, (as in the example shown above) create additional key combination shortcuts.

Each shortcut definition consists of the following properties:

name (required)

The label to use in the semantic shortcut dialog.

keystroke (required)

The semantic shortcut keystroke to follow Shift Shift C. You can use any key except N. Omit this property if you only want to create a standard key combination shortcut.

quickCombo (optional)

An alternative key combination shortcut. Make sure you avoid the combinations already used by CUE and the browser. Omit this property if you only want to create a semantic shortcut.

contentType (required)

The name of the content type to create.