Activity stream
The activity stream, also called the river in Elgg, provides an overview of what is happening on a site. It uses the list pattern component. Each item is created with the image block pattern.
The body of each river item is made up of several views. There is a river menu for liking and toggling a response box. The summary is the text that describes the activity. There is also support for a message (an excerpt of text from the original content), an attachment (such as a thumbnail image), and a response (a comment box).
Views:
river/item
, river/elements/*
Developers: A plugin calls add_to_river()
to include an event in the activity stream. The name of the view that creates the summary is passed into that function and usually based on the content type and the action. For example, posting a blog results in the view "river/object/blog/create
" being used as set by the blog/save
action.