download akh_selrecent

Resources : akh_selrecent

a plugin for textpattern, akh_selrecent is a modified (and seperate) version of txp:recent_articles.

version:
v0.5, released 25.03.2009.

requirements:
akh_selrecent was coded for textpattern gamma 1.18a, but it could be compatible with newer versions.

update:
nearly 4 1/2 years after the previous release, an update has been made to this rather antiquated plugin! pieter rubberecht has thrown together support for textpattern sections, which is very good of him. i've packaged up his work and recompiled it into a new plugin, but haven't tested the code at all. any problems? let me know!

details:
the traditional output of txp:recent_articles is a simple unordered list - much like this.

Output of txp:recent_articles

"yeah... whats wrong with that?" - nothing at all! i quite like the look of a good unordered list, but sometimes a list just isn't right for a design. maybe you have a small area to work in, or maybe it just won't look right. no biggy. maybe akh_selrecent can help you out.
the plugin provides an additional tag (txp:akh_selrecent), which outputs exactly the same information as the existing txp:recent_articles, except in the form of a dropdown list, thusly.

Output of txp:akh_selrecent

lovely. doesn't make a huge change but it may just be the flag on the top of your mountain. or something. now on to the technical bits

all existing txp:recent_articles parameters (category, sort by, limit, etc) work as expected except the break parameter.don't use the break parameter! break is designed to help you lay out your unordered list and it will quite nicely bork the output of the dropdown list.

akh_selrecent also looks for the existance of the style class .akhRecentArticles, so should you need to style the dropdown list, thats your winner right there.

huge thanks must go to zag0r for doing the coding of this one, and allowing me to release it for all you lovely people to use.

should you still be interested in downloading akh_selrecent, please scroll up to the pretty picture of the box and give it a click.