Widgets

Blog widgets, normally contained in the left column of the main blog element, provide different functionalities and aggregations of the blog’s posts. Widgets can be added, removed, rearranged, and customized.

To add widgets, use the Blog tab. To rearrange widgets, use Blog > Move Up and Blog > Move Down. Alternatively, widgets can also be rearranged by dragging them around in the elements tree. To remove a widget, simply select and remove it using Design > Remove, or the Delete key.

The following widgets are available:

Blog Home Button

Returns to the blog start page, containing the post summary. To insert a blog home button, use Blog > Add Blog Home Button.

Style Rules

Mouse Over Style Style Rule Used when the mouse is over the button.

Add Post Button

Adds a new post. To insert an add post button, use Blog > Add Add-Post Button.

At design-time, selecting the add post button reveals the post form, allowing to edit and customize it.

Blog Requirements

Login Required Checkbox When on, only learners which are authenticated can add new posts.
Approval Required Checkbox When on, new posts (or edited posts) don’t show up in the blog until they are approved by a moderator.

Style Rules

Mouse Over Style Style Rule Used when the mouse is over the button.

Edit Post Button

Edits the current post. To insert an edit post button, use Blog > Add Edit Post Button.

At design-time, selecting the edit post button reveals the post form, allowing to edit and customize it.

Post Editing

Edit By Select author only – Only the original author of the post can edit it.
logged in – Any authenticated user can edit the post.
anyone – Anyone can edit the post.

Style Rules

Mouse Over Style Style Rule Used when the mouse is over the button.

Remove Post Button

Removes the current post. To insert a remove post button, use Blog > Add Remove Post Button.

Post Removal

Remove By Select author only – Only the original author of the post can remove it.
logged in – Any authenticated user can remove the post.
anyone – Anyone can remove the post.

Style Rules

Mouse Over Style Style Rule Used when the mouse is over the button.

Post Form

Allows learners to add new posts, and edit existing ones. At design-time, the post form is revealed when the add post button or edit post button are selected. The post form element consists of a notice element, several text field elements, several label elements, a rich text element for the post text, and a submit button. None of the fields are required, and any of them can be removed by selecting them and using Design > Remove, or the Delete key.

Post Notice

Providing the learner with notices regarding the posting process, the notice is only visible at run-time when such information is present. The textual content of these notices can be edited and localized via <Items>.

Notice

Items String List Notices which can be displayed to the learner when trying to add or edit a post.

Subscribe Link

Provides the learners with an RSS/Atom feed link, which allows them to subscribe to the feed with their preferred feed reader and keep track of the blog from outside of Composica.

Although the subscription link is a regular link element, it has special run-time functionality and its <Link To> and <Window Name> properties should be left blank.

Recent Posts

Displays a summarized list of the recent blog posts. To insert a recent posts widget, use Blog > Add Recent Posts Widget.

The recent posts widget consists of a widget title element, and several widget post elements. At run-time, the widget post element is duplicated for each post, and its comprising variables are filled in with information from the post.

Recent Posts

Post Count Number Number of recent posts to show, or all to show all posts.

Recent Comments

Displays a summarized list of the recent comments on blog posts. To insert a recent comments widget, use Blog > Add Recent Comments Widget.

The recent comments widget consists of a widget title element, and several widget post elements. At run-time, the widget post element is duplicated for each post, and its comprising variables are filled in with information from the post.

Recent Comments

Comment Count Number Number of recent comments to show, or all to show all comments.
Summary Word Count Number Number of words from the originating comment to show, or all to show the entire comment text.

Archive

Displays a list of all blog posts, by their dates. To insert an archive widget, use Blog > Add Archive Widget.

The archive widget consists of a widget title element, several archive group elements, and several widget post elements. At run-time, the archive group element is duplicated for each calendar month, and the widget post element is duplicated for each post with its comprising variables filled in with information from the post.

Categories

Shows a list of tags associated with posts in the blog, and the number of posts associated with each. To insert a categories widget, use Blog > Add Categories Widget.

The categories widget consists of a widget title element, and several widget post elements. At run-time, the widget post element is duplicated for each tag, and its comprising variables are filled in with information associated with the tag.

Categories

Count Number Number of tags to show, or all to show all tags.

Tag Cloud

Shows a list of tags associated with posts in the blog, visually indicating which tag is the most associated with. To insert a tag cloud widget, use Blog > Add Tag Cloud Widget.

The tag cloud widget consists of a widget title element, and several widget post elements. At run-time, the widget post element is duplicated for each tag, and its comprising variables are filled in with information associated with the tag.

Tag Cloud

Count Number Number of tags to show, or all to show all tags.

Top Rated

Displays a summarized list of the highest rated blog posts. To insert a top rated widget, use Blog > Add Top Rated Widget.

The top rated widget consists of a widget title element, and several widget post elements. At run-time, the widget post element is duplicated for each post, and its comprising variables are filled in with information from the post.

Top Rated

Post Count Number Number of top rated posts to show, or all to show all posts.