Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

dru_recent_articles

I’ve hacked a version of recent_articles to include two new features:

  • The ability to filter the list on section: section="articles"
  • The abilty to change the start-point of the list: limit="1,10"

This second point is handy if you don’t want your recent articles list to include the most recent article. The old syntax still works fine – limit="10".

Other than that, all the attributes are the same as recent_articles. This really is just a hacked version of the same.

<txp:dru_recent_articles section="articles" limit="1,10" break="li" wraptag="ul" />

Article Request Count:
Initially released:
2004-04-06
Posted here:
30 Mar 2005
Article modified:
30 Mar 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (7)

Doesn’t work with RC3.
nope, sure doesn’t. i wish it did, i really want to use this plugin.
“after a lot of problems with plugins, Yours is the first that works (in 1.0rc3), perfect”
If you’re having difficulties with dru_recent_articles, you may want to give glx_recent_articles a try..
As alexandra said in the forum, it works with 4.01 :-)

This plugin really should be integrated into txp:recent_articles, just like some others have recently. Section and offset are a must-have for recent articles list…
Oliver:
This plugin doesn’t work if you use a prefix for TXP. I changed it to @$rs = getRows(“select * from ”.PFX.”textpattern where Status = 4 and Posted
I have problem with class attribute : it simply do not work with me. Any idea ?

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern