archiveextras

NP_ArchiveExtras.php

This plugin will show an archive of articles for any timeperiod specified in the plugin parameters including weekly, monthly and yearly archives.

General Plugin info
Author: TrenT
Current Version: 3.0
Download: np_archiveextras_v3.0.zip
Code: ArchiveExtrasCode
Demo: -
Forum Thread: -

With Version 3.0, you can just show the itemlink or show each items individual date and categorylink. There is also the ability to change the sort order in the plugin options and also turn fancy URL‘s on or off.

Installing

  • Copy and paste the code into a file called NP_ArchiveExtras.php or download the zip file (see above).
  • Upload the file into the nucleus plugin directory, than install or update the subscription list.
  • Include usage code (see below) in your skins or templates where you want the archive of articles to appear.

How to use the plugin

Parameters are: <%ArchiveExtras(number of entries to show,starting year,starting month,starting day,ending year,ending month,ending day)%>

Weekly use:

<%ArchiveExtras(1000,2002,6,1,2002,6,8)%> 

to show articles from June 1st - 7th, 2003.

Monthly use:

<%ArchiveExtras(1000,2002,6,1,2002,7,1)%>

to show articles from June 1st - 30th, 2003.

Yearly use:

<%ArchiveExtras(1000,2002,1,1,2003,1,1)%> 

to show articles from January 1st - December 31st, 2002.

For Example, look at http://www.getfitgym.com/index.php?archivelist=36

For this I used the following code:

<b>April 2003</b><BR><%[[ArchiveExtras]](1000,2003,4,1,2003,5,1)%><BR>
<b>May 2003</b><BR><%[[ArchiveExtras]](1000,2003,5,1,2003,6,1)%><BR>
<b>June 2003</b><BR><%[[ArchiveExtras]](1000,2003,6,1,2003,7,1)%><BR>
<b>July 2003</b><BR><%[[ArchiveExtras]](1000,2003,7,1,2003,8,1)%><BR>
<b>August 2003</b><BR><%[[ArchiveExtras]](1000,2003,8,1,2003,9,1)%><BR>
<b>September 2003</b><BR><%[[ArchiveExtras]](1000,2003,9,1,2003,10,1)%><BR>
<b>October 2003</b><BR><%[[ArchiveExtras]](1000,2003,10,1,2003,11,1)%><BR>
<b>November 2003</b><BR><%[[ArchiveExtras]](1000,2003,11,1,2003,12,1)%><BR>
<b>December 2003</b><BR><%[[ArchiveExtras]](1000,2003,12,1,2004,1,1)%>

Version History

  • Version 1 is the original code.
  • Version 2 offers the ability to change the sort order and turn fancy URL‘s on or off in the plugin options.
  • Version 3 offers the ability to show each items individual date and category in the plugin options.

TrenT

Plugin review

NP_ArchiveExtras version 3.0 works with Nucleus CMS 3.31 - 2007-10-28 kg

:: Back to Plugins Overview ::

 
archiveextras.txt · Last modified: 2007/10/28 15:14 by kg