Content last modified Monday 6 March 2017
hop to #bottom
Categories:
About It:
Rate it:
  • Helpful?
  • 1 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!

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:

Archived [?]: functionality now in core. "sort" replaces sortby and sortdir

Posted here:
03 Mar 2005
Article modified:
18 Jun 2009

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.

You know you want to visit the Archives.

Browse

Categories


Articles

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