The following describes the steps required for Sophora’s Liveblogs module.
Automatic installation
The required node types and mixins will be registered when activating the Liveblogs module in the DeskClient by opening the Sophora Liveblogs view the first time.
Configuring liveblog entries
To make an existing document type a liveblog entry, perform the following steps on the document type:
- Add the mixin
sophora-liveblogs-mix:liveblogEntry
. - Add the form field group Liveblog-Entry to a form tab, e.g. the Base tab.
- Add the fields
sophora-liveblogs-nt:liveblogEntryMetadata/sophora-liveblogs:isTopEntry
andsophora-liveblogs-nt:liveblogEntryMetadata/sophora-liveblogs:isPinnedEntry
to the document information list. This will enable both fields to show up in the search results. - Add the document type to the allowed node types of the client script documents Liveblogs: Toggle Pinned Entry and Liveblogs: Toggle Top Entry.
Now you should be able to create your own liveblog documents (of the type sophora-liveblogs-nt:liveblog
) and add your liveblog entries to them.
Customizing liveblogs
You can add your own fields to the liveblog document type (sophora-liveblogs-nt:liveblog
) via mixins.
Instead of adding your own fields to the liveblog document type (sophora-liveblogs-nt:liveblog
) you may also use your own document type for liveblogs. In this case you have to perform the following steps on the document type:
- Add the mixin
sophora-liveblogs-mix:liveblog
. - Add the form field group Liveblog to a form tab, e.g. the Base tab.