Show a list with the latest updated items.
| General Plugin info |
| Author: | Curtis A. Weyant,
mod by Edmond Hui (admun) |
| Current Version: | 0.7 |
| Download: | np_latestposts_v0.8.zip |
| Code: | code |
| Demo: | - |
| Forum Thread: | here |
Copy the
code, save it as NP_LatestPosts.php and upload it to you /plugins directory.
Install it at Plugins Management (if you already have an older version, uninstall it and install the new one).
Put <%LatestPosts%> somewhere in your skin.
Maximum number of entries to display.
Offset of posts to display. This can be used to show recent posts outside of the main page (i.e. If you display 10 posts on the main page, you can set this to 10 and have the recent posts show not duplicate with those on the main page)
Date format (as used by
PHP date() function)
Header, Item, and Footer format
Type of list to create: Latest entries from current or supplied blog, latest entries from all blogs, or latest entry from each blog (shows only one item from each blog on the site; maximum number is ignored)
No parameters will show the default number of latest posts from all blogs
The first parameter still how many items that will be show:
the second parameter defines from which blog the items will come:
if no 2nd parameter is defined, the plugin will show the latest items among all blogs. (see example above);
<%LatestPosts(10,myblog)%>: show 10 latest posts from myblog;
<%LatestPosts(10,2)%>: show 10 latest posts from blog number 2;
Post bugs, doubts, hacks and suggestions here at the Nucleus forum.
NP_LatestPosts version 0.8 works with Nucleus CMS version 3.31 - 2007-11-13 kg