bloglist

NP_Bloglist

General Plugin info
Author: Ben Osman & Rodrigo Moraes
Current Version: 0.2
Download: -
Code: NP_Bloglist_code
Demo: -
Forum Thread: -

I have written a simple plugin to allow you to show a list of blogs in a skin. It includes filtering capability and allows you to change the display of the list using a template.

Installing

Save as NP_BlogList.php, then upload and install plug-in.

How to use the plugin

You then have four options:

  • Order By field: Type the field(s) you want to order the list by. Use ASC or DESC after the field to choose direction of sort.
  • Header: This allows you to choose the default header template that precedes the list
  • List: This allows you to choose the default template for the items in the list
  • Footer: This allows you to choose the default footer template that follows the list

Templates follow standard Nucleus conventions. Variables available are all fieldnames in the Nucleus_blog table (e.g bshortname) as well as ‘friendly’ variables blogid, blogname and bloglink.

To insert the bloglist into a skin use <%BlogList%>

The parameters are as follows:

  • Filter (optional) : Allows you to add a where clause to filter info. e.g <%BlogList(bpublic = 1)%>
  • Header, List, Footer (all optional): allows you to override the template for one instance of a list. e.g <%BlogList(bpublic = 1,HeaderTemplate,ListTemplate,FooterTemplate)%>

Plugin review

NP_BlogList doesn’t work with Nucleus CMS version 3.31 - 2007-10-30 kg

Hint

Nucleus CMS 3.31 has an own skinvar bloglist which can be used instead of this plugin.

 
bloglist.txt · Last modified: 2007/10/30 19:06 by kg