Deprecated 11/10/2006. Will soon be replaced by NP_Ordered which will do ordered category lists as well as display blog items in specific order, allow different templates for each category (even on main page), and categories that can be set to not appear on the main page.
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 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.
| General Plugin info | |
|---|---|
| Author: | Frank Truscott |
| Current Version: | 0.3 |
| Download: | |
| Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?t=14070 |
There are two options that control the operation of the OrderedBlog plugin. These options are set from the edit options link in the Plugin Admin area.
These skinvars should be valid in all skin types except member, error, and imagepopup:
The general form of the skinvar is: <%OrderedBlog(templatename,amount,category,blogname,show)%> where:
Use the item edit form or the plugin admin page to set the order of the items you wish to order. Then add the skinvar described above to your skins (usually the Main Index part) where you want the posts displayed. Will usually take the place of the <%blog(templatename,amount)%> skinvar.
Some usage examples are given below:
There are lot's of ways to use this plugin to do things like sticky some important announcements or posts (like an About item), to order the items in a fairly static category, but leaving the other categories as dynamic, blog-like categories. The possibilities are endless, but most uses might require some clever uses of the <%if(category,catname,CategoryName)%> skinvar and tweaks in templates to get the desired affect. If anyone wants to submit examples use cases, I will be happy to include them in this document. Submit to this forum thread.