Content last modified Wednesday 6 August 2008
hop to #bottom
Categories:
About It:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

Random articles

The ability to call a random article is already built into the txp:article_custom tag, with the attribute sortby="rand()".

e.g.
<txp:article_custom form="form_of_your_choice" limit="4" sortby="rand()" sortdir="desc" />

You can also call this attribute from the txp:chh_article_custom plugin.

furthernote:
It is now also possible to call random articles with Rob Sable’s rss_suparchive.

Article Request Count:
Posted here:
03 Mar 2005
Article modified:
01 Nov 2006

Comments/questions? Leave a message in the form.

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

Commented (1)

Yes, thanks! I found it :-))

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

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
TxP · TxD · GG