This plugin allows a blog administrator to set the order in which each item appears. Each item can be assigned an order number. When the blog form of the skinvar is used, the posts will be displayed in the order designated. Posts that are not given an order, are not shown when using the default form of the skinvar. An alternate form of the skinvar will display just the unordered posts ordered by post time. The skinvar also accepts an optional blogname parameter to display ordered posts from a different blog.
Additionally, a blog administator can set orders to categories in a blog for use with the categorylist form of this skinvar. A template can be designated, as well, to be used when displaying items in a given category when using the blog form of this skinvar. A category's items can also be excluded from the main page when using the blog form of this skinvar.
Also, can show individual items anywhere, show random items, show custom list of blogs, list items under each category in a category list, and some other cool things.
| General Plugin info | |
|---|---|
| Author: | Frank Truscott |
| Current Version: | 1.35 |
| Download: | NP_Ordered.zip 4 files, 21KB |
| Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?t=14070 |
There are two options that control the operation of the Ordered plugin. These options are set from the edit options link in the Plugin Admin area.
See the help file included in the plugin distribution.
See the help file included in the plugin distribution.
This plugin is a bit of a swiss-army knife. It's general function is to allow custom ordering of item lists, category lists, and blog lists. Its skinvars have a complex syntax that is described in the help file, here will be listed some of the things you can do with this plugin, organized by skinvar form. It should be noted that all its functions are tied to a single blog and it will not list items, categories, or blogs over multiple blogs.
An additional feature is that each category can be assigned a special template for display in indexes (blog) or item pages (item), so that on the main page, some items may be displayed with the normal template, while a special category, e.g. photos, can be displayed using a different template.
blog This is a replacement for the <%blog%> and <%otherblog%> skinvars and is mostly used on Main Index skin parts, but can also be used in sidebars and other places where items need to be listed. It can list items in the following orders:
Each sorting, except custom, can be done ascending, descending, or random.
categorylist This is a replacement of the <%categorylist%> and <%othercategorylist%> skinvars and is most often used in a sidebar to list the categories in a given blog. Besides allowing special ordering of the categories, you can also choose to list items from the categories inside the category list, e.g. the titles of the latest three items from each category.
It can list categories in the following orders:
Each sorting, except custom, can be done ascending, descending, or random.
bloglist This is a replacement for the <%bloglist%> skinvar and can be used anywhere in your skin. For a site with multiple blogs, it can list the blogs in various orders and even list the most recent items from those blogs.
It can list blogs in the following orders:
I've used it on a multi-user open blog community to list the blogs on the front page so that the most active bloggers get their blogs listed first (itemcount) or so that the most recently active blogs get listed first (lastentry).
item: This is a replacement for the <%item%> skinvar and is used mostly on the Item Pages skin part, but it can be used anywhere in the skin where you want a specific item (or randomly chosen item) to be displayed.
In the form where no item is specified, it must be used on the Item Pages skin part and its main purpose is to display the selected item using any custom template chosen for that category in the Ordered admin pages.
In the form where an item number is specified, it will display that item anywhere in the skin using the specified template. Will act like a sticky, or can be used to display an “about me” item in a sidebar, footer, etc…
In its final form, it can be used to display a random item anywhere in your skin. You can also set hints to the plugin to draw that random item from specific blogs, categories, and times.