rss_suparchive_menu

Plugin Details

Download:
rss_suparchive  v0.18
Textpattern Forum:
View discussion
Plugin Type:
Regular
Current Version:
0.18
Status on this site:
Active

The rss_suparchive_menu tag will generate a listing of months or years along with the total number of posts belonging to each grouping and a link to your archive section. The URLs follow a format of yyyy/mm/dd, yyyy/mm or yyyy depending on the listing mode you choose and the rss_suparchive now supports filtering based on these URL patterns.


Revision History

See rss_suparchive

Plugin Attributes

mode
Accepts one of 2 options “MONTH” or “YEAR”. By default (MONTH) will display a list of months and the number of posts in each with a URL of /yourarchive/yyyy/mm. Selecting “YEAR” will display a list of years and the number of posts in each with a URL of /yourarchive/yyyy.
Default: ‘MONTH’
Example: mode=”YEAR”

section
Accepts a comma separated list of sections that posts are listed from. NO spaces after commas.
Default: ‘article’
Example: section=”sectionOne,sectionTwo”

linktosection
Denotes the section that the months will link to when the URL is built.
Default: ’$s (current global section)’
Example: linktosection=”archive”

timeframe
Accepts one of 3 options “PAST”, “FUTURE” or “ALL”. By default (PAST) will display articles with a posted date before the current date/time. Selecting FUTURE will display articles with a posted date after the current date/time. Selecting ALL will display all articles regardless of posted date.
Default: ‘PAST’
Example: timeframe=”FUTURE”

limit
The number of months that will be shown in the listing.
Default: ’6’
Example: limit=”3”

showcount
Shows the number of articles posted in a month next to the name of the month.
Default: ’1’
Example: showcount=”0”

countlabel
Label text that appears next to the article count.
Default: ’’
Example: countlabel=” entries”

showheader
Shows an XHTML heading tag () above the month list.
Default: ’0’
Example: showheader=”1”

headerlabel
The text that appears within the header tags.
Default: ’Monthly Archives’
Example: headerlabel=”Posts By Date”

headerlevel
The XHTML heading tag level (1,2,3,4,5 or 6).
Default: ’2’
Example: headerlevel=”3”

Some additional conveniences built into the tag include:

  • the addition of an id named rssMenu to the ul tag
  • the addition of a class named rssMonthCount to the monthly post totals

Textpattern Solutions

Textpattern Solutions

Textpattern Solutions is the first book published on Textpattern.

details at friends of ED or the official book website.

buy it at amazon.com