Description
The all entries plugin adds all of the entries in your blog to a list and makes that list available to your templates.
Installation and Setup
In your global /WEB-INF/plugin.properties file, add the following line:
all-entries=org.blojsom.plugin.common.AllEntriesPlugin
You may then add "all-entries" to one of the flavor-based plugin chains. These plugin chains can be found in the individual blog's plugin.properties file. For example:
html.blojsom-plugin-chain=..., all-entries
Usage and URL Parameters
You can use this in, for example, the Velocity templates:
#foreach ($entry in $BLOJSOM_PLUGIN_ALL_ENTRIES)
... do something
#end
Context Attributes and Types
The following table describes the context attributes that are available and their associated type.
| Context key |
Input or Output |
Type |
Description |
| BLOJSOM_PLUGIN_ALL_ENTRIES |
Output |
BlogEntry[] |
Array of BlogEntry objects. |