Dashboard > blojsom > ... > Available Plugins > Entries Limiter Plugin
  blojsom Log In   View a printable version of the current page.  
  Entries Limiter Plugin
Added by David Czarnecki, last edited by David Czarnecki on Oct 21, 2004  (view change)
Labels: 
(None)

Description

The entries limiter plugin limits the number of entries that get displayed and is set by the blog-entries-display parameter in your individual blog.properties. A value of -1 for this parameter indicates that all entries should be shown in which case this plugin acts like a pass through filter.

Installation and Setup

In your global /WEB-INF/plugin.properties file, add the following line:

limiter=org.blojsom.plugin.limiter.EntriesLimiterPlugin

You may then add "limiter" to one of the flavor-based plugin chains. These plugin chains can be found in the individual user's plugin.properties file. For example:

html.blojsom-plugin-chain=limiter

Usage and URL Parameters

URL parameters

The following table describes the URL parameters that affect the output of the entries limiter plugin.

URL parameter Accepted values Usage
entries The "entries" parameter can be used to override the number of entries displayed per category that is set by the blog-entries-display parameter in blog.properties. Valid integer that is -1 OR > 0 to specify the limit on the number of blog entries displayed. A value of -1 will cause the plugin to return all entries it receives. /blog/?entries=7

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators